mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
data.d: remove "Multiple files can also be specified"
It is superfluous and could even be misleading. Bug: https://curl.haxx.se/mail/archive-2020-01/0016.html Reported-by: Mike Norton Closes #4832
This commit is contained in:
parent
295ea5f641
commit
81e1b1ec23
@ -22,9 +22,8 @@ data pieces specified will be merged together with a separating
|
||||
chunk that looks like \&'name=daniel&skill=lousy'.
|
||||
|
||||
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. Multiple files can also be specified. Posting data from a file named
|
||||
\&'foobar' would thus be done with --data @foobar. When --data is told to read
|
||||
from a file like that, carriage returns and newlines will be stripped out. If
|
||||
you don't want the @ character to have a special interpretation use --data-raw
|
||||
instead.
|
||||
read the data from, or - if you want curl to read the data from stdin. Posting
|
||||
data from a file named \&'foobar' would thus be done with --data @foobar. When
|
||||
--data is told to read from a file like that, carriage returns and newlines
|
||||
will be stripped out. If you don't want the @ character to have a special
|
||||
interpretation use --data-raw instead.
|
||||
|
Loading…
x
Reference in New Issue
Block a user