1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}}`