I'm not sure how to integrate my restful API´s with the HTTP Angular client, this is my HTTP Angular client implementation:
getList(): Promise<any> {
this.http.get<any>(this.url).toPromise()
.then(
data => {
console.log(data);
}
);
And this is my API JSON response structure:
{
"eeeeee": {
"qqq": [
{
"aaa": "fff",
"zzz": "bbb",
"yyy": "mmm",
"xxx": "nnn"
},
{
"aaa": "aaa",
"zzz": "zzzz",
"yyy": "yyyy",
"xxx": "ccc"
}
]
}
}