My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Access HTTP response headers in interceptor

monis's photo
monis
·Feb 14, 2019

I need to access HTTP response headers in interceptor in my angular(7) application. I have searched but what I have found is we can access on request level by passing

{observe: 'response'}

but in my case I need to keep track of specific header if I get it from server I will update my local storage else not.On debugging interceptors response headers I got these

response.png any article or anything I can look more into it? thanks