1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

xh: update page (#13678)

This commit is contained in:
Fazle Arefin 2024-09-13 17:34:08 +10:00 committed by GitHub
parent fbb5055097
commit 5893cbb113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,8 @@
# xh
> Friendly and fast tool for sending HTTP requests.
> Note: `xh`, written in rust, serves as an effective drop-in replacement for `http`.
> See also: `http`, `curl`.
> More information: <https://github.com/ducaale/xh>.
- Send a GET request:
@ -22,3 +24,7 @@
- Make a GET request and save the response body to a file:
`xh --download {{httpbin.org/json}} --output {{path/to/file}}`
- Show equivalent `curl` command (this will not send any request):
`xh --{{curl|curl-long}} {{--follow --verbose get http://example.com user-agent:curl}}`