kwaai-restcall-fixed
v0.0.1
Published
Helpers to call restful apis
Downloads
2
Readme
#kwaai-restcall
Node helpers to call restful JSON API's
var kwaaiRest=require("kwaai-restcall")(
{headers:{"Content-Type": "application/json"},
baseUrl:"http://api.openweathermap.org/data/2.5"
});
kwaaiRest.callRestService({
url:"/weather?q={weatherQuery}",
weatherQuery:"London,uk",
verb:"get"
},function(err,res){
console.log(res);
})