req

Simple and opinionated HTTP scripting language for API testing

brewmacoslinux
Try with needOr install directly
Source

About

Simple and opinionated HTTP scripting language

Commands

req

Examples

Make a simple GET request to an API endpoint$ req https://api.example.com/users
Send a POST request with JSON body and custom headers$ req POST https://api.example.com/users -H 'Content-Type: application/json' -d '{"name":"John"}'
Execute a req script file for complex HTTP interactions$ req script.req