how to get the header value in angular passed in header,i need to store the jwt token in localstorage and pass it into all api's
For further actions, you may consider blocking this person and/or reporting abuse
how to get the header value in angular passed in header,i need to store the jwt token in localstorage and pass it into all api's
For further actions, you may consider blocking this person and/or reporting abuse
Samira Awad -
Samira Awad -
SnapNews Local -
ViitorCloud Technologies -
Top comments (3)
See this SO answer, header can be accessed from the response class : stackoverflow.com/a/44292610
sorry bro i didnt get the answer in this way
How to send JWT in every HTTP request in Angular
Source: itnext.io/how-to-send-jwt-automati...