apihandlerrestful
v1.1.3
Published
A simple api handler for nodejs
Downloads
2
Maintainers
Readme
Api handler
A simple NodeJs module to use a RESTful API
Installation:
npm install apihandlerrestful
Usage:
let handler = require('apihandlerrestful');
handler("http://yourapi.com/")
.then(data => {
console.log(data.value);
//Just do whatever you want with data
})
Important: You are not able to use an API with https://, use normal http://