mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
18 lines
658 B
D
18 lines
658 B
D
Long: get
|
|
Short: G
|
|
Help: Put the post data in the URL and use GET
|
|
Category: http upload
|
|
Example: --get $URL
|
|
---
|
|
When used, this option will make all data specified with --data, --data-binary
|
|
or --data-urlencode to be used in an HTTP GET request instead of the POST
|
|
request that otherwise would be used. The data will be appended to the URL
|
|
with a '?' separator.
|
|
|
|
If used in combination with --head, the POST data will instead be appended to
|
|
the URL with a HEAD request.
|
|
|
|
If this option is used several times, only the first one is used. This is
|
|
because undoing a GET doesn't make sense, but you should then instead enforce
|
|
the alternative method you prefer.
|