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 httpbin.org/get
{"name": "john", "age": 25}
):xh post httpbin.org/post name=john age:=25
first_param=5&second_param=true
):xh get httpbin.org/get first_param==5 second_param==true
xh get httpbin.org/get header-name:header-value
xh --download httpbin.org/json --output path/to/file
curl
command (this will not send any request):xh --curl|curl-long --follow --verbose get http://example.com user-agent:curl