線上環境是https,測試環境是http,在線上想調測試接口,直接請求現在會報錯MixedContent:Thepageat'https:xxx'wasloadedoverHTTPS,butrequestedaninsecureXMLHttpRequestendpoint'http://xxx'.Thisrequesthasbeenblocked;thecontentmustbeservedoverHTTPS.是否可以用在http服務器設置CORS(跨域資源共享)來解決?
請教各位一個問題,求解答:如何在https域名下請求http接口
HUWWW
2019-10-16 10:05:35