CmdID

CmdID / Commands

xh

Friendly and fast tool for sending HTTP requests. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Friendly and fast tool for sending HTTP requests. Note: xh, written in rust, serves as an effective drop-in replacement for http.

Send a GET request (shows response headers and content)

xh https://postman-echo.com/getIdentify

Send a POST request with a JSON body (key-value pairs are added to a top-level JSON object - e.g. {"name": "john", "age": 25})

xh post https://postman-echo.com/post name=john age=25Identify

Send a GET request with query parameters (e.g. <https://postman-echo.com/response-headers?foo1=bar1&foo2=bar2>)

xh get https://postman-echo.com/response-headers foo1==bar1 foo2==bar2Identify

Send a GET request with a custom header

xh get https://postman-echo.com header-name:header-valueIdentify

Make a GET request and save the response body to a file

xh --download https://example.com --output path/to/fileIdentify

Simulate sending a request without actually sending it

xh --offline get https://example.comIdentify

Show equivalent curl command (this will not send any request)

xh --curl --follow --verbose get https://example.com user-agent:curlIdentify