0
我無法將http請求發送到外部頁面從開始https。然而,我用setOption(2)= 13056來忽略secutrity錯誤,我收到此錯誤: msxml3.dll錯誤'80072f8f' 發生安全錯誤。我無法訪問我的服務器配置並尋找編程解決方案。如何將Http Post請求發送到經典ASP中的外部安全https頁面?
<%
Dim data, httpRequest, postResponse
data= "a="&request.querystring("a")
Set httpRequest = Server.CreateObject("MSXML2.ServerXMLHTTP")
httpRequest.setOption(2) = 13056
httpRequest.Open "POST", "https://external-Web-Site.com", False
httpRequest.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
httpRequest.Send data
postResponse = httpRequest.ResponseText
'Response.Write postResponse ' or do something else with it
%>
是該解決方案的任何幫助 - https://www.experts-exchange.com/questions /26457879/Cannot-connect-using-https-msxml3-dll-error-'80072f8f'-A-security-error-occurred.html?你有沒有試過更高版本的msxml? – johna