Response to preflight request doesn't pass access control check: It does mot have hTTpok status .
时间: 2023-10-27 17:53:24 浏览: 83
This error message usually occurs when the browser sends a preflight request to a server, and the server's response does not meet the requirements of the browser's security policy. One common cause of this error is when the server does not include the correct headers in its response to the preflight request.
To resolve this issue, you can check the server's response headers and ensure that they include the necessary headers. The headers that are required depend on the specific request and server configuration.
Additionally, you can also try disabling any browser extensions or firewalls that may be interfering with the request, or try accessing the resource from a different browser or network to see if the issue persists.
阅读全文