Skip to content

Commit

Permalink
xh: fix downloading JSON example
Browse files Browse the repository at this point in the history
Co-authored-by: bl-ue <[email protected]>
  • Loading branch information
2 people authored and sbrl committed Apr 19, 2021
1 parent f727e15 commit ca04bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/common/xh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

0 comments on commit ca04bb9

Please sign in to comment.