@abgran wrote:
i’m using
import { HTTP } from ‘@ionic-native/http/ngx’;try {
const sendData = {
‘email’: email,
‘password’: pass,
‘remember_me’: 0
};
const dataReturn = await this.http.post(${apiUrl}/auth/login
, sendData, {});
this.myData = JSON.parse(dataReturn.data);
console.log(this.myData);
} catch (error) {
loading.dismiss();
console.log(error);
}Console return :
Exception calling native with command :: CordovaHttpPlugin :: post ::exception=TypeError: helpers.getTypeOf is not a functionPlease help
Posts: 1
Participants: 1