Files
nostr_core_lib/curl-8.15.0/docs/cmdline-opts/get.md
2025-08-16 11:22:44 -04:00

716 B

c, SPDX-License-Identifier, Long, Short, Help, Protocols, Category, Added, Multi, See-also, Example
c SPDX-License-Identifier Long Short Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl get G Put the post data in the URL and use GET HTTP http 7.8.1 boolean
data
request
--get $URL
--get -d "tool=curl" -d "age=old" $URL
--get -I -d "tool=curl" $URL

--get

When used, this option makes all data specified with --data, --data-binary or --data-urlencode to be used in an HTTP GET request instead of the POST request that otherwise would be used. curl appends the provided data to the URL as a query string.

If used in combination with --head, the POST data is instead appended to the URL with a HEAD request.