I am trying to make an angular HttpClient get request but am having trouble with doing anything with the data.
I am using an api which is returning data in the form
(10)[{...}, {...}, {...}, ...]
[
0:{
row: Array(4)
0: "someid"
1: "somename"
2: "someaddress"
3: "somepostcode"
},
1:{
row: Array(4)
0: "someid"
1: "somename"
2: "someaddress"
3: "somepostcode"
},
2:{
row: Array(4)
0: "someid"
1: "somename"
2: "someaddress"
3: "somepostcode"
},
...
]
I just want to be able to create a list of objects with "someaddress" and "someid" fields from the get data. I have looked at various tutorials but keep getting undefined elements. How could you get the data from this.