I want to get a date from XHR Header Reponse.
I tried to add '{observe: 'response'}' as options
 constructor(private http: HttpClient) { }
    getAllTemps() {
        return this.http.get<AllTemp>(this.endpoint, {observe: 'response'});
      }
but then my response looks like this: 
 There is no souch key as I expected.
There is no souch key as I expected.
Any ideas how to solve this? Maybe there is another way?

 
    