Reputation: 157
I did all the setting,
but still not able to make Delete and Put APIs.
Thanks..
Upvotes: 2
Views: 7461
Reputation: 5487
Your response doesn't contain any CROS Access-Control
headers. Also, to work with DELETE and PUT method requests you should respond properly to the preflight OPTIONS request.
See this answer for a simple (though slightly unsafe) solution.
Upvotes: 4