Resources section of the UsersAPI./users/{userId} resource.Enable CORS.
In the Enable CORS page - CORS Settings section:
Access-Control-Allow-Methods, select GET, DELETE, POST.Save.
Click Details in the Successfully enabled CORS notification, you will see that API Gateway has:
Created OPTIONS method …
Added Access-Control-Allow-Origin to the GET/DELETE/POST method: