From 21306a7bfee7ceb46ec74ace6b68f330c5fef20f Mon Sep 17 00:00:00 2001 From: Michael Kreusel Date: Sun, 5 Jul 2020 12:58:21 +0200 Subject: [PATCH] httpie: Add raw JSON example (#1477) Co-authored-by: Rico Sta. Cruz --- httpie.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/httpie.md b/httpie.md index 071d98c7b..9a71fa3ac 100644 --- a/httpie.md +++ b/httpie.md @@ -32,6 +32,12 @@ $ http --form POST example.com \ cv=@document.txt ``` +### Raw JSON + +```bash +$ echo '{"hello": "world"}' | http POST example.com/post +``` + ### Options Print options: