summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-03 10:14:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-04 00:16:53 +0200
commitc8210ef06df2bc7e3ecd2d0c389e664450b3a00c (patch)
treeaeb393d0a7ee2fa96f2002b51d7cf30536e18926 /docs/cmdline-opts
parentd02d8d93ff6210dd1eb968a38eec9db87f5974ce (diff)
downloadcurl-c8210ef06df2bc7e3ecd2d0c389e664450b3a00c.tar.gz
get.d: provide more useful examples
Closes #7668
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r--docs/cmdline-opts/get.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/cmdline-opts/get.d b/docs/cmdline-opts/get.d
index e51c15563..c5fb5c941 100644
--- a/docs/cmdline-opts/get.d
+++ b/docs/cmdline-opts/get.d
@@ -3,6 +3,8 @@ Short: G
Help: Put the post data in the URL and use GET
Category: http upload
Example: --get $URL
+Example: --get -d "tool=curl" -d "age=old" $URL
+Example: --get -I -d "tool=curl" $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