request-target.d 443 B

12345678910111213
  1. Long: request-target
  2. Arg: <path>
  3. Help: Specify the target for this request
  4. Protocols: HTTP
  5. Added: 7.55.0
  6. Category: http
  7. Example: --request-target "*" -X OPTIONS $URL
  8. See-also: request
  9. ---
  10. Tells curl to use an alternative "target" (path) instead of using the path as
  11. provided in the URL. Particularly useful when wanting to issue HTTP requests
  12. without leading slash or other data that does not follow the regular URL
  13. pattern, like "OPTIONS *".