I found this sample sub online and it works.
If I just do a response.write("Bla bla") on the page
the message box returns "Bla bla" as adverised.
I'm trying to find out how to assign some significance to the string in form of a parameter so I can test that the string I sent was received and also to process the data I send. Does anyone know how to attach parameters to the input?
Thanks
Public Shared Sub UploadString()
Dim data As String = "hey dan"
Dim address As String = "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
If I just do a response.write("Bla bla") on the page
the message box returns "Bla bla" as adverised.
I'm trying to find out how to assign some significance to the string in form of a parameter so I can test that the string I sent was received and also to process the data I send. Does anyone know how to attach parameters to the input?
Thanks
Public Shared Sub UploadString()
Dim data As String = "hey dan"
Dim address As String = "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