2
0

get.d 682 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 makes 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 is appended to the URL
  17. with a '?' separator.
  18. If used in combination with --head, the POST data is instead appended to the
  19. URL with a HEAD request.