1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

xh: fix example with POSTing JSON Body

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
Grzegorz Baranski 2021-04-11 16:28:23 +02:00 committed by Starbeamrainbowlabs
parent ef319c8240
commit 0579078491

View file

@ -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}}`