Skip to content

Commit 2e9c717

Browse files
authored
curl: explain -d example (#4183)
1 parent 66bfc92 commit 2e9c717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/common/curl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
`curl -O -L -C - {{http://example.com/filename}}`
1818

19-
- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`):
19+
- Send form-encoded data (POST request of type `application/x-www-form-urlencoded`). Use `-d @file_name` or `-d @'-'` to read from STDIN:
2020

2121
`curl -d {{'name=bob'}} {{http://example.com/form}}`
2222

0 commit comments

Comments
 (0)