Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229110

IONIC call webservice token

$
0
0

shouldn’t that be

return this.http.get(this.url,params,options);

i don’t know your api, but typically you tell the server that you want JSON response via a header

et url = ‘http://192.168.0.6:81/EBSWebApi’;
this.params = {
SubscriptionPassword: “passx”,
UserID: “khcadmin”,
UserPassword: “00100100957”,
BranchID: “01”,
AllowHttp: true
};
let options = {Accept:'application/json'};
this.loginserviceprovider.getResponse(url,this.params,options)

Viewing all articles
Browse latest Browse all 229110

Trending Articles



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