I am sending a POST request to a back end REST API, via a login component. I get an x-auth token back in the response headers.
How do I get and store this token so I can use
Store the token you are receiving in the local storage of the web browser and use an http interceptor to remove the token from all responses and add the token to all requests.