2017-06-22 05:35:08 +08:00
|
|
|
Long: request-target
|
2021-07-13 11:09:26 +08:00
|
|
|
Arg: <path>
|
2017-06-22 05:35:08 +08:00
|
|
|
Help: Specify the target for this request
|
|
|
|
Protocols: HTTP
|
2017-08-22 20:48:33 +08:00
|
|
|
Added: 7.55.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --request-target "*" -X OPTIONS $URL
|
2017-06-22 05:35:08 +08:00
|
|
|
---
|
|
|
|
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
|
|
|
|
pattern, like "OPTIONS *".
|