request-tiny
v1.0.0
Published
extremely lightweight request function
Downloads
2
Maintainers
Readme
request.js
Probably the most lightweight / simple Javscript request library.
why?
It does one thing and it does it well.
Usage:
//request(<endpoint>, <type>, <data>, <callback_function>)
request("/api/registeruser", 'PUT', {"name": "John"}, function(data) {
console.log(data);
});
Install using npm
npm install request-tiny