I am using Ionic 2 and I have a provider that is responsible for making http requests to a server.
I use the following block of code to make the request.
Api_get(data?){
return new Promise((resolve, reject) =>{
this.http.post(this.url + data.method, data.send).subscribe(data =>{
resolve( data.json() );
reject({status:false});
})
})
}
The request is executed and it brings the data but in an object __zone_symbol__value array [] I do not know if I'm doing something wrong I hope you can help me.