resty

Command-line REST client for making HTTP requests in shell pipelines

brewmacoslinux
Try with needOr install directly
Source

About

Command-line REST client that can be used in pipelines

Commands

resty

Examples

Make a GET request to an API endpoint$ resty http://api.example.com/users | GET /1
POST JSON data to create a new resource$ resty http://api.example.com && POST /users '{"name":"John"}'
Chain multiple requests with piped data$ echo '{"key":"value"}' | resty http://api.example.com/data POST