dashley
Well-known member
Hi. I'm using the procedure below (bottom) to post data to a webpage (sent from a desktop application). Once the data reaches the webpage what can i do to
read it and parse it out. It dosnt seem to be in a request.querystring or form.
I've also tried the following but no luck
)
read it and parse it out. It dosnt seem to be in a request.querystring or form.
I've also tried the following but no luck
VB.NET:
Dim sr1 As StreamReader = New StreamReader(Page.Request.InputStream)
Dim xmldata As String = sr1.ReadToEnd
Response.Write(xmldata
VB.NET:
Public Shared Sub UploadString(ByVal address As String)
Dim data As String = "my string to pass"
Dim client As WebClient = New WebClient()
client.Encoding = System.Text.Encoding.UTF8
Dim reply As String = client.UploadString(address, "POST", data)
MsgBox(reply)
End Sub