Open mourice opened 7 years ago
Using The below code giving the empty error response. Using it in ionic2
window.cordovaHTTP.acceptAllCerts(true, function () { window.cordovaHTTP.get(ServiceHelper.GetUserGuideUrl(),{},{'Content-Type':'application/json','X-ClientVersion': ServiceHelper.ClientVersion,'X-Source': ServiceHelper.Source,'X-User': GlobalVars.getUserSession().userName, 'X-Locale': ServiceHelper.Locale}, function (response) { console.log("success"); }, function (response) { console.log("error"); }); }, function () { console.log('error :('); });
Not getting any hint on whats wrong in the request. Please help
You forget to write it in console function (response) { console.log("error"); }); should be function (response) { console.log("error", response); });
function (response) { console.log("error"); });
function (response) { console.log("error", response); });
Using The below code giving the empty error response. Using it in ionic2
Not getting any hint on whats wrong in the request. Please help