Put request in axios giving CORS error suddenly code example Example: axios delete is throwing cors error headers: {"Access-Control-Allow-Origin": "*"}