curl.1: -G also takes --data-urlencode data

This commit is contained in:
Daniel Stenberg 2013-11-29 15:10:27 +01:00
parent 0dd6522036
commit d81cbbcc2c

View File

@ -646,10 +646,10 @@ you can specify URLs that contain the letters {}[] without having them being
interpreted by curl itself. Note that these letters are not normal legal URL interpreted by curl itself. Note that these letters are not normal legal URL
contents but they should be encoded according to the URI standard. contents but they should be encoded according to the URI standard.
.IP "-G, --get" .IP "-G, --get"
When used, this option will make all data specified with \fI-d, --data\fP or When used, this option will make all data specified with \fI-d, --data\fP,
\fI--data-binary\fP to be used in an HTTP GET request instead of the POST \fI--data-binary\fP or \fI--data-urlencode\fP to be used in an HTTP GET
request that otherwise would be used. The data will be appended to the URL request instead of the POST request that otherwise would be used. The data
with a '?' separator. will be appended to the URL with a '?' separator.
If used in combination with -I, the POST data will instead be appended to the If used in combination with -I, the POST data will instead be appended to the
URL with a HEAD request. URL with a HEAD request.