Skip to content

Commit

Permalink
xh: fix sending POST Request with JSON body example
Browse files Browse the repository at this point in the history
Co-authored-by: bl-ue <[email protected]>
  • Loading branch information
2 people authored and sbrl committed Apr 19, 2021
1 parent 8918dd4 commit 13ab7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/common/xh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

Expand Down

0 comments on commit 13ab7ea

Please sign in to comment.