xh: update page (#13678)
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# xh
|
# xh
|
||||||
|
|
||||||
> Friendly and fast tool for sending HTTP requests.
|
> 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>.
|
> More information: <https://github.com/ducaale/xh>.
|
||||||
|
|
||||||
- Send a GET request:
|
- Send a GET request:
|
||||||
@@ -22,3 +24,7 @@
|
|||||||
- Make a GET request and save the response body to a file:
|
- Make a GET request and save the response body to a file:
|
||||||
|
|
||||||
`xh --download {{httpbin.org/json}} --output {{path/to/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}}`
|
||||||
|
Reference in New Issue
Block a user