Ver Fonte

curl: explain -d example (#4183)

Al Berez há 4 anos atrás
pai
commit
2e9c71731b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pages/common/curl.md

+ 1 - 1
pages/common/curl.md

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