get.d 744 B

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