mirror of
https://github.com/curlconverter/curlconverter.git
synced 2022-05-22 02:35:29 +03:00
committed by
GitHub
parent
3f7e9f051f
commit
01f2538e59
@@ -11,7 +11,7 @@ data = 'Hello, world!'
|
||||
response = requests.post('http://example.com', data=data)
|
||||
```
|
||||
|
||||
You can choose the output language by passing `--language <language>`. The options are `python` (the default), `browser`/`node`/`node-request` (JavaScript), `go`, `rust`, `php`, `java`, `r`, `elixir`, `dart`, `matlab` and a few more.
|
||||
You can choose the output language by passing `--language <language>`. The options are `python` (the default), `javascript`/`node`/`node-request`, `php`, `go`, `java`, `r`, `rust`, `elixir`, `dart`, `matlab` and a few more.
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import { _toStrest } from '../generators/strest.js'
|
||||
import fs from 'fs'
|
||||
|
||||
// This line is generated by extract_curl_args.py. Do not modify it.
|
||||
const VERSION = '4.0.0-alpha.9 (curl 7.79.1)'
|
||||
const VERSION = '4.0.0-alpha.10 (curl 7.79.1)'
|
||||
|
||||
// sets a default in case --language isn't passed
|
||||
const defaultLanguage = 'python'
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "curlconverter",
|
||||
"version": "4.0.0-alpha.9",
|
||||
"version": "4.0.0-alpha.10",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "curlconverter",
|
||||
"version": "4.0.0-alpha.9",
|
||||
"version": "4.0.0-alpha.10",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cookie": "^0.4.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "curlconverter",
|
||||
"version": "4.0.0-alpha.9",
|
||||
"version": "4.0.0-alpha.10",
|
||||
"description": "convert curl commands to Python, JavaScript, Go, PHP and other languages",
|
||||
"homepage": "https://github.com/curlconverter/curlconverter",
|
||||
"author": {
|
||||
|
||||
Reference in New Issue
Block a user