Friendly and fast tool for sending HTTP requests. Note:
xh, written in rust, serves as an effective drop-in replacement forhttp. See also:http,curl. More information: https://github.com/ducaale/xh.
xh {{https://postman-echo.com/get}}
{"name": "john", "age": 25}):xh post {{https://postman-echo.com/post}} {{name=john}} {{age=25}}
https://postman-echo.com/response-headers?foo1=bar1&foo2=bar2):xh get {{https://postman-echo.com/response-headers}} {{foo1==bar1}} {{foo2==bar2}}
xh get {{https://postman-echo.com}} {{header-name:header-value}}
xh {{[-d|--download]}} {{https://example.com}} {{[-o|--output]}} {{path/to/file}}
xh --offline {{get|delete|...}} {{https://example.com}}
curl command (this will not send any request):xh --{{curl|curl-long}} {{--follow --verbose get https://example.com user-agent:curl}}