parent
67d5e3624b
commit
bfa939d062
@ -18,9 +18,10 @@ Example:
|
||||
|
||||
Post data exactly as specified with no extra processing whatsoever.
|
||||
|
||||
If you start the data with the letter @, the rest should be a filename. Data
|
||||
is posted in a similar manner as --data does, except that newlines and
|
||||
carriage returns are preserved and conversions are never done.
|
||||
If you start the data with the letter @, the rest should be a filename.
|
||||
`@-` makes curl read the data from stdin. Data is posted in a similar
|
||||
manner as --data does, except that newlines and carriage returns are
|
||||
preserved and conversions are never done.
|
||||
|
||||
Like --data the default content-type sent to the server is
|
||||
application/x-www-form-urlencoded. If you want the data to be treated as
|
||||
|
||||
@ -42,7 +42,7 @@ expected to be URL-encoded already.
|
||||
|
||||
## @filename
|
||||
load data from the given file (including any newlines), URL-encode that data
|
||||
and pass it on in the POST.
|
||||
and pass it on in the POST. Using `@-` makes curl read the data from stdin.
|
||||
|
||||
## name@filename
|
||||
load data from the given file (including any newlines), URL-encode that data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user