2019年4月11日

Express框架Restful API Ajax 跨域 开启Cookie支持

摘要: 前端(Jquery Ajax): Node.js: 1.Cookie操作库(cookie.js): 2.启动时绑定中间件和设置http response header app.use( function (req, res, next) { //设置返回头 res.set({ 'Access-Con 阅读全文

posted @ 2019-04-11 11:22 尼古拉斯bug 阅读(119) 评论(0) 推荐(0) 编辑

导航