1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
You have the explanations re. CORS issues (see you error message) and API Gateway in this page: see https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html
If it is a POST method request, it must include an Origin header.
So, you probably need to add this header in your request when you POST to the API Gateway,
This post shows how to configure CORS from console: https://medium.com/geekculture/simple-steps-to-enable-cors-in-api-gateway-through-console-cloud-formation-c09d9df31c07
Best,
Didier
