headers to avoid cors error js axios code example Example: axios delete is throwing cors error headers: {"Access-Control-Allow-Origin": "*"}