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