Angular Convert -Reaktion auf JSON
getSomeDataFromSomeAPI(){
//res.json() does the trick, .json() function belongs to Response Object
return this.http.get("https://someApi.com/api/getData")
.map(res => res.json()).toPromise();
}
Dizzy Dog