1
0
Fork 0
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:
Grzegorz Baranski 2021-04-05 15:45:04 +02:00 committed by Starbeamrainbowlabs
parent f727e15ee7
commit ca04bb9921

View file

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