diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-15 23:44:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 10:42:51 +0100 |
commit | 41b1f649bf63e3663fcf3d4a678fef37688e32b7 (patch) | |
tree | 4fe54a49307d30025a67a5c83807d857f4bcbeba /docs/cmdline-opts/get.d | |
parent | 81e61cda396da7eefb15dcf20b9e8be7ada37283 (diff) | |
download | curl-41b1f649bf63e3663fcf3d4a678fef37688e32b7.tar.gz |
cmdline-docs: more options converted over
Diffstat (limited to 'docs/cmdline-opts/get.d')
-rw-r--r-- | docs/cmdline-opts/get.d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/cmdline-opts/get.d b/docs/cmdline-opts/get.d new file mode 100644 index 000000000..be7cb25f0 --- /dev/null +++ b/docs/cmdline-opts/get.d @@ -0,0 +1,15 @@ +Long: get +Short: G +Help: Put the post data in the URL and use GET +--- +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. |