mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-15 13:34:53 +02:00
Correct the --include option (#1948)
This commit is contained in:
2
curl.md
2
curl.md
@@ -80,7 +80,7 @@ curl -u user:pass -d status="Hello" http://twitter.com/statuses/update.xml
|
||||
|
||||
```bash
|
||||
# multipart file upload
|
||||
curl -v -include --form key1=value1 --form upload=@localfilename URL
|
||||
curl -v --include --form key1=value1 --form upload=@localfilename URL
|
||||
|
||||
# multipart form: send data from text field and upload file
|
||||
curl -F person=anonymous -F secret=@file.txt http://example.com/submit.cgi
|
||||
|
||||
Reference in New Issue
Block a user