request-promise-node

Request library wrapped in a promise


Keywords
request, promise, nodejs
License
ISC
Install
npm install request-promise-node@1.0.1

Documentation

request-promise

Request library wrapped in a promise see original documentation here

Samples:

request('https://www.google.com').then((data) => {
	//do something
})
var options = {
	url: 'https://www.dermveda.com',
	method: 'POST'
	headers: {
		'User-Agent': 'request'
	}
	json: {
		message: 'hello world'
	}
}
request(options).then((data) => {
	//do something with data
})