httpsで始まる外部ページに http リクエストを送信できません。ただし、setOption(2) = 13056 を使用してセキュリティ エラーを無視すると、次のエラーが表示されます: msxml3.dll エラー '80072f8f' セキュリティ エラーが発生しました。サーバー構成にアクセスできず、プログラムによる解決策を探しています。
<%
Dim data, httpRequest, postResponse
data= "a="&request.querystring("a")
Set httpRequest = Server.CreateObject("MSXML2.ServerXMLHTTP")
httpRequest.setOption(2) = 13056
httpRequest.Open "POST", "https://example.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
%>