A light-weight Terminal API Client. built with Node.js
npm
npm install -g zap-client
- Get
- Post
- json (default)
- xml
- text
- form
- Delete
- Verboosity
- Put
- json (default)
- xml
- text
- form
- Formatted Outputs and Errors
- Downloading Outputs and Files
A simple get
request
npx zap-client get https://jsonplaceholder.typicode.com/posts/100
Another simple post
request
npx zap-client post https://jsonplaceholder.typicode.com/posts/ json '{\"title\":\"Hello\",\"body\":\"World!\"}'