mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
xh: fix downloading JSON example
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
parent
f727e15ee7
commit
ca04bb9921
1 changed files with 2 additions and 2 deletions
|
@ -23,6 +23,6 @@
|
||||||
|
|
||||||
`xh put {{httpbin.org/put}} {{id:=49}} {{age:=25}} | less`
|
`xh put {{httpbin.org/put}} {{id:=49}} {{age:=25}} | less`
|
||||||
|
|
||||||
- Download and save to res.json:
|
- Make a GET request and save the response body to a file:
|
||||||
|
|
||||||
`xh -d {{httpbin.org/json}} -o {{res.json}}`
|
`xh --download {{httpbin.org/json}} --output {{path/to/file}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue