get.d 758 B

1234567891011121314151617181920
  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. ---
  10. When used, this option will make all data specified with --data, --data-binary
  11. or --data-urlencode to be used in an HTTP GET request instead of the POST
  12. request that otherwise would be used. The data will be appended to the URL
  13. with a '?' separator.
  14. If used in combination with --head, the POST data will instead be appended to
  15. the URL with a HEAD request.
  16. If this option is used several times, only the first one is used. This is
  17. because undoing a GET does not make sense, but you should then instead enforce
  18. the alternative method you prefer.