request-target.d 424 B

123456789101112
  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. ---
  9. Tells curl to use an alternative "target" (path) instead of using the path as
  10. provided in the URL. Particularly useful when wanting to issue HTTP requests
  11. without leading slash or other data that doesn't follow the regular URL
  12. pattern, like "OPTIONS *".