Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Exception calling native with command CordovaHttpPlugin

$
0
0

@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 function

Please help

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>