axios has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource code example
Example: axios delete is throwing cors error
headers: {"Access-Control-Allow-Origin": "*"}