From 13ab7eae616db51d72b2f62750fb61c203b6ed87 Mon Sep 17 00:00:00 2001 From: Grzegorz Baranski Date: Mon, 5 Apr 2021 15:46:12 +0200 Subject: [PATCH] xh: fix sending POST Request with JSON body example Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/xh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/xh.md b/pages/common/xh.md index 51a1954f1..345780fd1 100644 --- a/pages/common/xh.md +++ b/pages/common/xh.md @@ -7,7 +7,7 @@ `xh {{httpbin.org/get}}` -- Send a POST request with JSON body: `{"name": "ahmed", "age": 25}`: +- Send a POST request with JSON body: (each key specified is added to the top-level JSON object e.g. `{"name": "john", "age": 25}`): `xh post {{httpbin.org/post}} {{name=john}} {{age:=25}}`