@nelchongo wrote:
I’m trying to do a simple login method on my App calling the Laravel API with this https://ionicframework.com/docs/native/http/ but it seems that always when i try to log in i have this error:
Error: exec proxy not found for :: CordovaHttpPlugin :: get
here is my Ionic Code trying to connect with Laravel:
`console.log(this.request);
this.http.post(‘127.0.0.1:8000/api/login’,this.request,this.request).then(data => {
console.log(data);
console.log(data.data);
console.log(data.headers);
}).catch(error => {
console.log(error.status);
});`I know the API on laravel is working because i already test it with Laravel test methods
Posts: 1
Participants: 1