摘要: 直接postman, curl, 浏览器访问后端接口, response header是不会自动加上Access-Control-Allow-Origin的。 需要在ajax中调用,客户端request中会加上Origin请求头 (首先要保证发出的是跨站请求!!!), 服务器端才会加上respons 阅读全文
posted @ 2018-11-06 15:35 funny_coding 阅读(12445) 评论(0) 推荐(1) 编辑
build beautiful things, share happiness