mares-rest-requester
v1.0.10
Published
request-promise를 wrapping 한 mares용 요청자 모듈
Downloads
22
Readme
mares-rest-requester
request-promise를 wrapping 한 mares용 요청자 모듈
Installation
npm install --save mares-rest-requester
Examples
const Requester = require('mares-rest-requester')
const requester = new Requester({
protocol:'http',
hostname:'slogup.com',
port: 80
}, {
apiPrefix: 'apis',
version: 'v1'
})
let result = await requesters.maresAuth.build('authentication').get().headers(header).run()