0

In AngularJS I am writing the following code, $http.get(url).then....

is sending http request where as my server is configured for https. When using $http.get, I see following in the firebug console.

Blocked loading mixed active content

What is the way to issue https requests in angularjs. No documentation could be found on this topic.

EDIT My Exact code is:

$http.get(url).then(function(response) {
                        return response;
                    });

The URL requested shown in firebug is : GET http://localhost:8080/content/help/en/photoshop/product-details.js

1 Answers1

0

Try this code.

remove http and start as //localhost:8080/content

Credits

Community
  • 1
  • 1
Alaksandar Jesus Gene
  • 6,523
  • 12
  • 52
  • 83