1.1.3 • Published 6 years ago
apihandlerrestful v1.1.3
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://