From 0579078491b7b74ffaff3e7d9d621e2c73a1dfd1 Mon Sep 17 00:00:00 2001 From: Grzegorz Baranski Date: Sun, 11 Apr 2021 16:28:23 +0200 Subject: [PATCH] xh: fix example with POSTing JSON Body Co-authored-by: Starbeamrainbowlabs --- 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 414a24886d..8f5e8e0057 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 (each key specified is added to the top-level JSON object e.g. `{"name": "john", "age": 25}`): +- Send a POST request with a JSON body (key-value pairs are added to a top-level JSON object - e.g. `{"name": "john", "age": 25}`): `xh post {{httpbin.org/post}} {{name=john}} {{age:=25}}`