After researching, I realized that there's no way to prevent the browser from making an automatic GET request to the header's location URL with axios
. With fetch
, this can be done, but the headers
are not accessible due to security considerations