alexking
asked on
Receiving POST data using vb .net
I want to send data between two computers connected to the Web.
Sending the data seems easy using POST, e.g.:
Dim web As New System.Net.WebClient()
web.Headers.Add("Content-T ype", "application/x-www-form-ur lencoded")
Dim d As Byte() = System.Text.Encoding.ASCII .GetBytes( "SEARCHSTR ING=test")
Dim res As Byte() = web.UploadData("http://111.111.111.111/search", "POST", d)
How do I write a VB routine to listen for and receive this POST?
(I want to reply with a short text string)
Many Thanks.
JAK
Sending the data seems easy using POST, e.g.:
Dim web As New System.Net.WebClient()
web.Headers.Add("Content-T
Dim d As Byte() = System.Text.Encoding.ASCII
Dim res As Byte() = web.UploadData("http://111.111.111.111/search", "POST", d)
How do I write a VB routine to listen for and receive this POST?
(I want to reply with a short text string)
Many Thanks.
JAK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER