I\'m sending a request to an API, it returns an array of data, but I don\'t know how to extract the headers from that url, this is what i\'ve tried in my service
<
The headers are part of the Response class, so you should be able to see them in a handler like
http.get('/path/to/resource') .subscribe((res:Response) => { console.log(res.headers); // you can assign the value to any variable here });