aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/request-target.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/request-target.d')
-rw-r--r--docs/cmdline-opts/request-target.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/cmdline-opts/request-target.d b/docs/cmdline-opts/request-target.d
index df423f87d..6e21a6bde 100644
--- a/docs/cmdline-opts/request-target.d
+++ b/docs/cmdline-opts/request-target.d
@@ -1,10 +1,12 @@
Long: request-target
+Arg: <path>
Help: Specify the target for this request
Protocols: HTTP
Added: 7.55.0
Category: http
+Example: --request-target "*" -X OPTIONS $URL
---
Tells curl to use an alternative "target" (path) instead of using the path as
provided in the URL. Particularly useful when wanting to issue HTTP requests
-without leading slash or other data that doesn't follow the regular URL
+without leading slash or other data that does not follow the regular URL
pattern, like "OPTIONS *".