curl: explain -d example (#4183)

client-spec/clarity
Al Berez 2020-07-21 13:27:14 -07:00 committed by GitHub
parent 66bfc92e70
commit 2e9c71731b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
`curl -O -L -C - {{http://example.com/filename}}`
- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`):
- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`). Use `-d @file_name` or `-d @'-'` to read from STDIN:
`curl -d {{'name=bob'}} {{http://example.com/form}}`