我們的服務是 https 安全通道,需要請求另外一個http接口,基于jquery的ajax方法。1、在http頁面請求http頁面,沒問題。2、在https頁面請求http頁面,有問題,報錯“This request has been blocked; the content must be served over HTTPS.”問題:如何使用jQuery在https頁面請求http接口?和跨域沒關,應該怎么排除這個問題呢!
https ajax http
BIG陽
2018-10-19 18:11:48