HTTP服务器设置跨域访问方法

xingyun86 2019-5-9 1940

HTTP服务器设置跨域访问:

"Access-Control-Allow-Origin": "*",

"Access-Control-Allow-Credentials": true,

"Access-Control-Allow-Headers": "Content-Type, Content-Length, Authorization, 'Origin', Accept, X-Requested-With",

"Access-Control-Allow-Methods": "*",

"Access-Control-Max-Age": 86400


×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回