HttpClient.get() applies res.json() automatically and returns Observable<HttpResponse<string>>. You no longer need to call this function yourself.
See Difference between HTTP and HTTPClient in angular 4?
HttpClient.get() applies res.json() automatically and returns Observable<HttpResponse<string>>. You no longer need to call this function yourself.
See Difference between HTTP and HTTPClient in angular 4?