mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
curl.1: add an example for -H
This commit is contained in:
parent
accbbd7dc3
commit
7bff23b166
@ -699,6 +699,10 @@ See also the \fI-A, --user-agent\fP and \fI-e, --referer\fP options.
|
|||||||
Starting in 7.37.0, you need \fI--proxy-header\fP to send custom headers
|
Starting in 7.37.0, you need \fI--proxy-header\fP to send custom headers
|
||||||
intended for a proxy.
|
intended for a proxy.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
\&# curl -H "X-First-Name: Joe" http://192.168.0.1/
|
||||||
|
|
||||||
This option can be used multiple times to add/replace/remove multiple headers.
|
This option can be used multiple times to add/replace/remove multiple headers.
|
||||||
.IP "--hostpubmd5 <md5>"
|
.IP "--hostpubmd5 <md5>"
|
||||||
(SCP/SFTP) Pass a string containing 32 hexadecimal digits. The string should
|
(SCP/SFTP) Pass a string containing 32 hexadecimal digits. The string should
|
||||||
|
Loading…
Reference in New Issue
Block a user