score:0

@new_ting it appears you are returning the data as json and trying to map from there. you need to parse the json before mapping it, mapping it as json won't work.

  return data.json(); //this is the json i was talking about
    })
    .then((data) => {
      let arr: array<iwebapp> = [];
      data.map((a: any) => {//here is the mapping being done to the json string

Related Query

More Query from same tag