xh: fix downloading JSON example

Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
manned-org
Grzegorz Baranski 2021-04-05 15:45:04 +02:00 committed by Starbeamrainbowlabs
parent f727e15ee7
commit ca04bb9921
1 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,6 @@
`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}}`