For security reasons, the browser will have a same origin policy. The so-called same origin means that the domain name, protocol, and port are the same. If one of them is different, the browser will throw an error on the console: My cross domain scenario is that the http protocol requests the https protocol, 80
December 30th Reading (2817)