mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 09:51:46 -05:00
mention filename= for the -F
This commit is contained in:
parent
ac022b2e30
commit
85baebd0d4
@ -380,6 +380,11 @@ or
|
|||||||
|
|
||||||
\fBcurl\fP -F "name=daniel;type=text/foo" url.com
|
\fBcurl\fP -F "name=daniel;type=text/foo" url.com
|
||||||
|
|
||||||
|
You can also explicitly change the name field of an file upload part by
|
||||||
|
setting filename=, like this:
|
||||||
|
|
||||||
|
\fBcurl\fP -F "file=@localfile;filename=nameinpost" url.com
|
||||||
|
|
||||||
See further examples and details in the MANUAL.
|
See further examples and details in the MANUAL.
|
||||||
|
|
||||||
This option can be used multiple times.
|
This option can be used multiple times.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user