aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-03 14:06:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-03 14:06:25 +0000
commitf24d54a9c4546d845226b4d0dd7700651e0011dd (patch)
treea8716c8b3b58056d888536db1f0d97980076c271
parent9478d796a3c4eb366ab7d798bd8c4c693f7c5150 (diff)
clarified '-d @filename' with a tiny example
-rw-r--r--docs/curl.15
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 03cc2e08d..6b2040616 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -2,7 +2,7 @@
.\" nroff -man curl.1
.\" Written by Daniel Stenberg
.\"
-.TH curl 1 "8 May 2001" "Curl 7.7.3" "Curl Manual"
+.TH curl 1 "3 Aug 2001" "Curl 7.8" "Curl Manual"
.SH NAME
curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or
HTTPS syntax.
@@ -134,7 +134,8 @@ name=daniel -d skill=lousy' would generate a post chunk that looks like
If you start the data with the letter @, the rest should be a file name to
read the data from, or - if you want curl to read the data from stdin. The
contents of the file must already be url-encoded. Multiple files can also be
-specified.
+specified. Posting data from a file named 'foobar' would thus be done with
+"--data @foobar".
To post data purely binary, you should instead use the --data-binary option.