I have a problem with AWS API Gateway. I'm developing a web application with Angular 4 (using TypeScript language), but if I invoke the PUT method from the frontend, the following error message appears:
Method PUT is not allowed by Access-Control-Allow-Methods in preflight response.
and it's very strange because in the AWS console the PUT method works perfectly (I did many tests directly from the API Gateway console with a stage after the deploy, and everything works well). If I go to "Actions/Enable CORS" all methods have the check, included the PUT method, and I don't explain exactly what is the problem with the API Gateway.
Why do I get this error if it seems all ok in API gateway? Is there a way to change these CORS?
