Search Posts

Category: http

AngularJS $http request issue in HTTP and HTTPS

I have a problem in my angularjs $http request. When I send request to the API it was blocked by the browser like: ERROR IN FIREFOX : Blocked loading mixed active content “” ERROR IN CHROME: Mixed Content: The page at ‘‘ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘‘. This request has been blocked; the content must be served over HTTPS. How can I fixed this problem? Any idea is accepted. […]

$http requests not working in signed apk Ionic

when i run my cordova ionic app directly on android studio,it’s working and send $http request perfectly. but when i installed signed .apk,http requests doesn’t work Controller.js var postObject = new Object(); postObject.User = $; postObject.Secret = $; $http({ url: ‘’, method: “POST”, data: { ‘message’: postObject } }) .then(function(response) { $cordovaDialogs.alert(‘Success’, ‘Info’, ‘OK’); }, function(response) { $cordovaDialogs.alert(‘Error’, ‘Info’, ‘Error’); }); Config.xml <?xml version=’1.0′ encoding=’utf-8′?> <widget android-versionCode=”1″ id=”” version=”0.1″ xmlns=”” xmlns:cdv=”″> <name>Cordova project.</name> <description> Cordova […]

selection value is not reading in angularjs

I have a form, after filling the data in it, I am send it to server through http post method in angularjs, the issue is, it is reading/getting all values except value in the select box, it is reading/getting as null value. <!DOCTYPE html> <html> <head> <title>KunEra ERP</title> <meta charset=”UTF-8″> <meta name=”description” content=””> <meta name=”keywords” content=””> <meta name=”author” content=””> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <!– Booststrap compiled and minified CSS –> <link rel=”stylesheet” href=””> <!– customized […]