@mantocko/rest-client
v0.1.2
Published
A simple rest client to make http requests
Downloads
3
Maintainers
Readme
@mantocko/curl.js
A js lib to make rest requests.
const {RestClient} = require('@mantocko/curl.js');
const restClient = new RestClient();
// get data from an api
await restClient.get('https://some.server/basic/get/api');
You can also install and use globally in your shell.
$> npm i -g @mantocko/curl.js
$> curl.js https://some.server/basic/get/api