0👍
Your backend accepts CORS POST requests, but not PUT. You should modify the headers set there to include PUT using Access-Control-Allow-Methods
response header.
PHP example:
header("Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS");
More info here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
- [Vuejs]-Show modal pop up with animation Vue
- [Vuejs]-How to filter array of objects when something is searched?
Source:stackexchange.com