Fork me on GitHub

nodejs 在headers添加内容发送到后端

app.all('*', function(req, res, next){
    req.headers['COOKIE'] = 'Your Cookie'
    next()
})
posted @ 2016-11-10 21:30  明天后浪  阅读(474)  评论(0)    收藏  举报