xh

Fast and friendly HTTP client for making web requests from terminal

brewmacoslinux
Try with needOr install directly
Source

About

Friendly and fast tool for sending HTTP requests

Commands

xh

Examples

make a simple GET request and see the response$ xh https://api.example.com/users
send JSON data with a POST request$ xh POST https://api.example.com/users name=John age:=30
pretty print JSON response in terminal$ xh GET https://api.example.com/data --pretty=all
add custom headers to an HTTP request$ xh GET https://api.example.com/data Authorization:'Bearer token123'
download a file from the internet$ xh --download https://example.com/file.zip