5
I have a Rest API in Java, which makes use of JWT to authenticate users and generate tokens to access their resources. I have an application in Angularjs, which should consume these resources, but I first need to request a token in the API. I would like to know how to access the token that is in the header of the POST request response. By Angular I’m not getting access to this, however, in the browser I can see the token in the request response.