get.d 696 B

1234567891011121314151617181920
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: get
  4. Short: G
  5. Help: Put the post data in the URL and use GET
  6. Category: http upload
  7. Example: --get $URL
  8. Example: --get -d "tool=curl" -d "age=old" $URL
  9. Example: --get -I -d "tool=curl" $URL
  10. Added: 7.8.1
  11. See-also: data request
  12. Multi: boolean
  13. ---
  14. When used, this option will make all data specified with --data, --data-binary
  15. or --data-urlencode to be used in an HTTP GET request instead of the POST
  16. request that otherwise would be used. The data will be appended to the URL
  17. with a '?' separator.
  18. If used in combination with --head, the POST data will instead be appended to
  19. the URL with a HEAD request.