Options preflight request fails with 405 status with console error on browser as below:
Access to fetch at '***' from origin '***' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Meanwhile, I could not see any trace captured on apigee for that OPTIONS request made.
Tried GET for the same request from postman and I see the response.
How do I debug the issue if it is not coming till trace?
Provide your Cors policy and the configurations in the proxy.
Did you mention the required methods in Cors allow-method configurations?
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |