E
Ed
I'm trying to port one of my applications from VB6 to Dot Net.
In my VB6 app I do an HTTP Post of data to a website and receive a
response. I want to essentially do the same thing in VB Dot Net.
This is my original VB6 source code:
WinHttpReq.Open "POST", "https://www.abcdefg.com/ProcessInquiry.asp",
False
WinHttpReq.SetRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
WinHttpReq.Send sSendText
sResponseText = WinHttpReq.ResponseText
What is the equivalent in dotnet? I need to be able to send sSendText
and get a result sResponseText.
Thanks in advance.
ed
In my VB6 app I do an HTTP Post of data to a website and receive a
response. I want to essentially do the same thing in VB Dot Net.
This is my original VB6 source code:
WinHttpReq.Open "POST", "https://www.abcdefg.com/ProcessInquiry.asp",
False
WinHttpReq.SetRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
WinHttpReq.Send sSendText
sResponseText = WinHttpReq.ResponseText
What is the equivalent in dotnet? I need to be able to send sSendText
and get a result sResponseText.
Thanks in advance.
ed