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:
parent
ef319c8240
commit
0579078491
1 changed files with 1 additions and 1 deletions
|
@ -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}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue