xh: fix sending POST Request with JSON body example
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
8918dd4d6d
commit
13ab7eae61
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
`xh {{httpbin.org/get}}`
|
`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}}`
|
`xh post {{httpbin.org/post}} {{name=john}} {{age:=25}}`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user