You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know why it's not working, but Authorization is a request header, not a response header. This usage is invalid as far as the HTTP spec is concerned.
Thx for an answer, sorry about this stupid question cause im newbie, i've just tried to use https://github.com/bosssauce/access/ and there was cfg.ResponseWriter.Header().Add("Authorization", "Bearer "+token), i thought that was right way to send token in header of response, sorry and thx again.
Hello, ive tried to migrate from axios (using nuxt), and start using '@nuxt/http' but when i was tryed to get header from the post response
console.log(data.headers.get('Authorization')) shows null, there is anyway to make it work?
in firefox network tab response header looks like:
The text was updated successfully, but these errors were encountered: