get.d 781 B

123456789101112131415161718192021
  1. Long: get
  2. Short: G
  3. Help: Put the post data in the URL and use GET
  4. Category: http upload
  5. Example: --get $URL
  6. Example: --get -d "tool=curl" -d "age=old" $URL
  7. Example: --get -I -d "tool=curl" $URL
  8. Added: 7.8.1
  9. See-also: data request
  10. ---
  11. When used, this option will make all data specified with --data, --data-binary
  12. or --data-urlencode to be used in an HTTP GET request instead of the POST
  13. request that otherwise would be used. The data will be appended to the URL
  14. with a '?' separator.
  15. If used in combination with --head, the POST data will instead be appended to
  16. the URL with a HEAD request.
  17. If this option is used several times, only the first one is used. This is
  18. because undoing a GET does not make sense, but you should then instead enforce
  19. the alternative method you prefer.