diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-08-29 08:07:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-08-29 08:07:47 +0200 |
commit | 7bff23b166b9f3ab1f38d9b289c4e5ed270492da (patch) | |
tree | f4a5233ae9198fa8adad5fd16b3ab835a79df89d | |
parent | accbbd7dc37be1a59fb23d07af24234437c059bb (diff) |
curl.1: add an example for -H
-rw-r--r-- | docs/curl.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index 6bb2d1c5f..8f785705e 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -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 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. .IP "--hostpubmd5 <md5>" (SCP/SFTP) Pass a string containing 32 hexadecimal digits. The string should |