curl: explain -d example (#4183)

This commit is contained in:
Al Berez
2020-07-21 13:27:14 -07:00
committed by GitHub
parent 66bfc92e70
commit 2e9c71731b

View File

@@ -16,7 +16,7 @@
`curl -O -L -C - {{http://example.com/filename}}` `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}}` `curl -d {{'name=bob'}} {{http://example.com/form}}`