mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
parent
3ecdfb1958
commit
1c532870ed
@ -33,11 +33,11 @@ form-field to which the file portrait.jpg will be the input:
|
||||
|
||||
curl -F profile=@portrait.jpg https://example.com/upload.cgi
|
||||
|
||||
Example: send a your name and shoe size in two text fields to the server:
|
||||
Example: send your name and shoe size in two text fields to the server:
|
||||
|
||||
curl -F name=John -F shoesize=11 https://example.com/
|
||||
|
||||
Example: send a your essay in a text field to the server. Send it as a plain
|
||||
Example: send your essay in a text field to the server. Send it as a plain
|
||||
text field, but get the contents for it from a local file:
|
||||
|
||||
curl -F "story=<hugefile.txt" https://example.com/
|
||||
|
Loading…
Reference in New Issue
Block a user