且构网

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

没有“访问控制 - 允许 - 原产地”标头的请求的资源present。原产地'URL呼叫“,因此没有允许访问

更新时间:2021-11-04 01:15:58

作为你的问题的标题状态错误消息,响应缺少一个访问控制 - 允许 - 产地标头。根据响应的内容,你张贴在你的问题的结束,服务器没有包含这一头。所以,这个问题是您的服务器。您需要在您回应这个头。

As the error message in your question title states, the response is lacking an Access-Control-Allow-Origin header. According to the response contents you posted at the end of your question, the server is not including this header. So, the issue is with your server. You'll need to include this header in your response.