Skip to content Skip to sidebar Skip to footer

Authorization Header Not Being Sent When Using Fetch

When I try and set the Authorzation header as below the header doesn't get sent to the server for the request. What's the correct way to set the Authorization header with fetch? le

Solution 1:

I believe your server needs to include the following response header:

Access-Control-Allow-Headers: Authorization

Post a Comment for "Authorization Header Not Being Sent When Using Fetch"