I have this Response from an http get and I need it to be parsed and displayed only the body row per row for each wifi name.
Response {_body: “iPhone di Traian,-27;RGI-Guest,-75;SYSMAN,-61;OneP…F,-82;iPhone de Monsieur SASSI,-82;PinkFloyd,-65;”, status: 200, ok: true, statusText: “OK”, headers: Headers, …}
WIFI NAME AND SIGNAL for each line, this is my code:
wifiScan() {
this.http.get('http://192.168.4.1/scan')
.subscribe(data => {
console.log(data);
});
}
And my html looks like this:
<ion-content padding>
<ion-item *ngFor="let wifi of wifiList">
{{wifi.wifiList}}
</ion-item>
</ion-content>
How can I solve this?