summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-03 10:14:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-03 10:14:06 +0200
commitf80f9ad26f62999b0dc72094cfb077f7db725510 (patch)
treeaeb393d0a7ee2fa96f2002b51d7cf30536e18926
parentd02d8d93ff6210dd1eb968a38eec9db87f5974ce (diff)
downloadcurl-bagder/get-example.tar.gz
get.d: provide more useful examplesbagder/get-example
-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