⚡
Zap! A light-weight Terminal API Client. built with Node.js
Installation
npm
npm install -g zap-client
Features
- Get
- Post
- json (default)
- xml
- text
- form
- Delete
- Verboosity
- Put
- json (default)
- xml
- text
- form
- Formatted Outputs and Errors
- Downloading Outputs and Files
Demo
Examples
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!\"}'