I uploaded the code to github and its protocol is https, but there is an ajax request for http in my page, which is blocked by the browser. The request is an interface provided by others, and I do not have the permission to modify it. Anything, what to do?
Sending http requests from https is not allowed unless the other party provides an https interface.
http://stackoverflow.com/ques...
http://stackoverflow.com/ques...
Due to Chrome security restrictions, non-authenticated certificates are treated as unsafe. So you need to add startup parameters
--ignore-certificate-errors
to Chrome to skip the security check. This is very simple under win, just right-click -> Properties and add after the shortcut, but it is a little troublesome under mac.Restart Chrome at this time, you can already bypass the security check and support access to addresses under the current unofficial certificate.