axios call to localhost blocked by cors policy code example Example: axios delete is throwing cors error headers: {"Access-Control-Allow-Origin": "*"}