javascript - AngularJS $http request issue in HTTP and HTTPS -
i have problem in angularjs $http request. when send request api blocked 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: page @ 'https://www.example.com/load.shtml#/register/pos/docs/2323232221555/new' loaded on https, requested insecure xmlhttprequest endpoint 'http://www.example.com/rest/default/v1/integration/admin/token/'. request has been blocked; content must served on https.
how can fixed problem? idea accepted.
simple: hit web api endpoints using ssl.
https://www.example.com/rest/default/v1/integration/admin/token/
Comments
Post a Comment