Home > front end >  Axios response interceptor how to obtain the Authorization in the headers?
Axios response interceptor how to obtain the Authorization in the headers?

Time:09-25

The back-end I've been writing for:
Response. SetHeader (" Access - Control - Expose - the Headers, "JwtUtil. TOKEN_HEADER);
The response. SetHeader (" Authorization ", newToken);
Front end how to receive the value of the Authorization?

CodePudding user response:

Should be in the response, print and have a look
  • Related