Search Posts

Category: cross-domain

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 “http://www.example.com/rest/default/V1/integration/admin/token/” ERROR IN CHROME: Mixed Content: The page at ‘https://www.example.com/load.shtml#/register/pos/docs/2323232221555/new‘ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://www.example.com/rest/default/V1/integration/admin/token/‘. This request has been blocked; the content must be served over HTTPS. How can I fixed this problem? Any idea is accepted. […]