skip to Main Content

Amazon web services – 'http://localhost:3000' has been blocked by CORS

I've been trying to connect my react .js file to the back end. I have a API in API Gateway and I created a method and enabled CORS and gave it access method.response.header.Access-Control-Allow-Headers 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token' method.response.header.Access-Control-Allow-Methods 'OPTIONS' method.response.header.Access-Control-Allow-Origin '*' I even…

VIEW QUESTION
Back To Top
Search