Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

webclient upload string question

Status
Not open for further replies.

Dashley

Programmer
Dec 5, 2002
925
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top