request-cookie
v1.0.1
Published
Cookie store for request-compose
Downloads
209
Readme
request-cookie
Cookie store for request-compose
var compose = require('request-compose')
var cookie = require('request-cookie')
compose.Request.cookie = cookie.Request
compose.Response.cookie = cookie.Response
var request = compose.client
;(async () => {
var cookie = {}
var {body} = await request({
url: 'http://website.com',
cookie,
})
})()