Below is my code and what i am trying to do is subscribe to the data i return after the send function is triggered. Now after subscribing, i assign the data return from my API to the this.Data to pass on to my ngFor to display the my data. But i get the error Error trying to diff '[object Object]'
. Could it be i am not reaching the display property in the data or not accepting the data in the right format (object)?
Data: DataLink[] = [];
Send(){
this.http.forward(this.info)
.subscribe( data => {
this.Data = data;
console.log(data);
}) }
<div *ngFor="let msg of Data">
{{msg.display}}
**response**
data: Array
0: Object
display: "How are you?"