1.0.1 • Published 7 years ago
httpness v1.0.1
About
This cli module is a simple HTTP client similar to httpie, but with a lot less functionality. It is build on top of node-fetch and uses prettyjson to provide nice formatting.
Install
$ npm install -g httpness
Or
$ yarn add global httpness
Usage
After the module has been installed globally, it can be called from the terminal:
$ httpness --url=https://jsonplaceholder.typicode.com/posts/1
This will output:
It also supports other HTTP methods like POST
:
$ httpness --url=https://jsonplaceholder.typicode.com/posts --method=POST --body={title: 'Hi', body: 'Friend', userId: 1}
This will output:
API
The following argument flags are supported:
Contribute
Contributions are welcome. Please open up an issue or create PR if you would like to help out.
Note: If editing the README, please conform to the standard-readme specification.
License
Licensed under the MIT License.