From 2e9c71731b3b6b35eccabbcef155edb64c83637c Mon Sep 17 00:00:00 2001 From: Al Berez Date: Tue, 21 Jul 2020 13:27:14 -0700 Subject: [PATCH] curl: explain -d example (#4183) --- pages/common/curl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/curl.md b/pages/common/curl.md index f8cb36f57..32244f399 100644 --- a/pages/common/curl.md +++ b/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}}`