- 最新
- 最多得票
- 最多評論
Hi ralbritton,
Please check and confirm your configuration as mentioned in the given document below:
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html
If you configure CORS for an HTTP API, then API Gateway automatically sends a response to preflight OPTIONS requests. This response is sent even if there isn't an OPTIONS route configured for your API. For a CORS request, API Gateway adds the configured CORS headers to the response from an integration. Could you please try removing the OPTIONS method and then try again if it works? You could also check the given article for further information:
https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-cors-errors/
If the above doesn't work I would recommend you to raise a Support Case with AWS Premium Support while mentioning the API resource ID, for us to troubleshoot the issue further.
Have a great day ahead!
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前