且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“预检响应中的 Access-Control-Allow-Headers 不允许请求标头字段 Access-Control-Allow-Origin"

更新时间:2021-10-16 22:15:02

CORS headers,那些以Access-Control-开头的都是响应 headers,必须设置通过并从服务器发送到浏览器,而不是相反,这就是您出错的原因

CORS headers, those that start with Access-Control- are response headers, they must be set by and sent from the server to the browser, not the other way around, that's the reason for your error