1.0.3 • Published 7 years ago
nanopost v1.0.3
A Simple, promise based, dependency free POST only request library
micropost(url,options)
micropost's parameters are the same as http.request's parameters, without the callback
const micropost = require('micropost');
micropost('https://www.example.com/example', options)({foo:'bar'}).then(response => {
console.log(response.body);
});
1.0.3
7 years ago