0
Next I have an api running already, and I can make the requests quietly by Ionic serves using the Chrome extension allow access-control-allow-origin
, and I have all the right answers , but when I built in my project by xcode
, and tried to fulfill the requisitions by xcode
/ emulador
, with app installed, it didn’t work someone can help me what I can do ? to fix this? type I must declare on xml
something?
my xml
<content src="index.html" />
<access origin="*" />
my webservice with the requisition
login(conta: ContaInterface)
{
return this.http.post(this.url+'api/userLogin',{
"email": conta.email,
"password": conta.password},{"headers": {'Accept':'application/json'}});
}
Try debugging by Xcode to see the error that is rolling
– DiegoAugusto