Home > OS >  The same procedure for different API gateway a normal cannot connect
The same procedure for different API gateway a normal cannot connect

Time:09-26

Master action genuflect is begged the same program for different API gateway a normal one cannot connect reason, two on the local computer can run normally, a unable to connect to the server on a normal, not be able to connect to the gateway of https://www.acardpay.biz/index.php/Gateway/securepay server browser can directly input open have to return the result, but in the program said msxml3. DLL error '80072' efd unable to establish connection with the server
Test the address http://www.goonlinefactory.com/2.asp



Dim strsend

Strsend="test"

Response. Write "& lt; Br>
Use another glbpay
https://pgw.glbpay.com/api/refund
"
The set objHttp=CreateObject (" MSXML2. ServerXMLHTTP ")
ObjHttp. Open the "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 & lt;> 200) then
Result="Status=" & amp; ObjHttp. Status
The else
Result=objHttp. The responseText
End the if
The Set objHttp=Nothing
Response. Write "& lt; Br> Return
"
Response. Write (Result)



Response. Write "& lt; Br>
Use acardpay api
https://www.acardpay.biz/index.php/Gateway/securepay
"
The set objHttp=CreateObject (" MSXML2. ServerXMLHTTP ")
ObjHttp. Open the "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 & lt;> 200) then
Result="Status=" & amp; ObjHttp. Status
The else
Result=objHttp. The responseText
End the if
The Set objHttp=Nothing
Response. Write "& lt; Br> Return
"
Response. Write (Result)
Response. Write "& lt; Br>
"

CodePudding user response:

Server how even, ports have no pass?
  • Related