B
Brad
I'm in the processing of upgrading some VBA code that sends a POST-AUTH
request to a secure server (credit card authorization to a payment
gateway) then parses the return. I'm trying to figure out how to do
this with VB 2005 Windows App.
Old Code example:
'Get ready to send request to gateway
WinHttpReq.Open("POST", "https://***URLTOSECURESERVER**", False)
WinHttpReq.SetRequestHeader("Content-Type",
"application/x-www-form-urlencoded")
WinHttpReq.Send(strPostString)
lStatusCode = WinHttpReq.Status
lsReturn = WinHttpReq.ResponseText
How to do the same thing in .net?
request to a secure server (credit card authorization to a payment
gateway) then parses the return. I'm trying to figure out how to do
this with VB 2005 Windows App.
Old Code example:
'Get ready to send request to gateway
WinHttpReq.Open("POST", "https://***URLTOSECURESERVER**", False)
WinHttpReq.SetRequestHeader("Content-Type",
"application/x-www-form-urlencoded")
WinHttpReq.Send(strPostString)
lStatusCode = WinHttpReq.Status
lsReturn = WinHttpReq.ResponseText
How to do the same thing in .net?