Explorar el Código

curl: explain -d example (#4183)

Al Berez hace 4 años
padre
commit
2e9c71731b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}}`