跪求高手支招 同樣的程式對應不同的API網關 一個正常一個不能連接的原因。在本地電腦2個多能正常運行,上到服務器一個正常 一個不能連接。 不能連接的那個網關https://www.acardpay.biz/index.php/Gateway/securepay 服務器的瀏覽器直接輸入能打開 有回傳結果,但是放到程式中就說msxml3.dll 錯誤 '80072efd' 無法與服務器建立連接
測驗地址 http://www.goonlinefactory.com/2.asp


dim strsend
strsend="測驗"
Response.Write"<br><br>use another glbpay<br> https://pgw.glbpay.com/api/refund<br>"
set objHttp = CreateObject("MSXML2.ServerXMLHTTP")
objHttp.open "POST", "https://pgw.glbpay.com/api/refund", false
objHttp.setRequestHeader "Content-type", "application/x-www-form-urlencoded"
objHttp.Send strsend
Response.Write(objHttp.status)
if (objHttp.status <> 200 ) then
Result = "Status="&objHttp.status
else
Result=objHttp.responseText
end if
Set objHttp = Nothing
Response.Write"<br>return<br>"
Response.Write(Result)
Response.Write"<br><br>use acardpay api<br> https://www.acardpay.biz/index.php/Gateway/securepay<br>"
set objHttp = CreateObject("MSXML2.ServerXMLHTTP")
objHttp.open "POST", "https://www.acardpay.biz/index.php/Gateway/securepay", false
objHttp.setRequestHeader "Content-type", "application/x-www-form-urlencoded"
objHttp.Send strsend
Response.Write(objHttp.status)
if (objHttp.status <> 200 ) then
Result = "Status="&objHttp.status
else
Result=objHttp.responseText
end if
Set objHttp = Nothing
Response.Write"<br>return<br>"
Response.Write(Result)
Response.Write"<br><br>"
uj5u.com熱心網友回復:
服務器怎么連的,埠有沒通?轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/79827.html
下一篇:物聯網資訊安全
