curl command for MoonX.
moonx cli/curl https://example.com/
moonx cli/curl -L -o page.html https://example.com/
moonx cli/curl -H 'Content-Type: application/json' --data-binary '{"ok":true}' https://example.com/| Option | Description |
|---|---|
| -o VALUE, --output VALUE | write to file instead of stdout |
| -L, --location | follow redirects Default: false. |
| -H VALUE, --header VALUE | send custom fields in order, retaining repeats |
| -u VALUE, --user VALUE | HTTP Basic authentication |
| -c VALUE, --cookie-jar VALUE | write a Netscape cookie jar |
| -X VALUE, --request VALUE | specify a supported HTTP method |
| -d VALUE, --data VALUE | HTTP POST data |
| --data-binary VALUE | HTTP POST data without conversion |
| --help | Show help. |
| --version | Show the version. |