diff --git a/pages/common/xh.md b/pages/common/xh.md index c033a43af8..3cc59cb6d0 100644 --- a/pages/common/xh.md +++ b/pages/common/xh.md @@ -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: . - 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}}`