This is a terminal based Api client program which makes the process of making http request to server easier by providing an option to make use of terminal to do that.
- node app.js post --method="post" --url="https://jsonplaceholder.typicode.com/posts" --data.title="new-title" --data.body="new-body"
- node app.js put --method="put" --url="https://jsonplaceholder.typicode.com/posts/1" --data.title="new-title" --data.body="new-body"
- node app.js delete --method="delete" --url="https://jsonplaceholder.typicode.com/posts/1"
- node app.js patch --method="patch" --url="https://jsonplaceholder.typicode.com/posts/1" --data.title="new-title" --data.body="new-body"
- node app.js get --method="get" --url="https://jsonplaceholder.typicode.com/posts/1" --header.Authorization=1234
- node app.js list-all
- node app.js list --filter="post"
- --header.Authorization=1234
- --data.title="new-title" --data.body="new-body" Note: above commands uses JSONplaceholder