Larry Brister
asked on
VB.Net Web Client and paramaters
My following snippett creates no errors
But I need to pass in a paramater "command" to the url.
How would I do that?
But I need to pass in a paramater "command" to the url.
How would I do that?
Dim Client As New WebClient
Using Client
Dim reader As New StreamReader(Client.OpenRead("https://hostedconnect.m5net.com/bobl/bobl"), Encoding.UTF8, True)
Dim line As String = reader.ReadLine()
Do While line IsNot Nothing
Debug.WriteLine(line)
line = reader.ReadLine()
Loop
End Using
ASKER
kaufmed
This is tied toa very difficult project I'm on
I need to POST XML to a url
I then need to get the response...and keep the connection OPEN because this url I'm posting to will send an unlimited stream of data back to me.
The POST comes back with a reply
A few seconds later another block of data will come back
And then as certain events take place in our system...
THEY will send additional data
This is tied toa very difficult project I'm on
I need to POST XML to a url
I then need to get the response...and keep the connection OPEN because this url I'm posting to will send an unlimited stream of data back to me.
The POST comes back with a reply
A few seconds later another block of data will come back
And then as certain events take place in our system...
THEY will send additional data
ASKER
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
kevp75
Let me review what you posted.
And absolutely no offense taken. I am NOT experienced in what I'm trying to do here. You guys are the experts.
And oh yeah...to get answers I am not above groveling :-)
Let me review what you posted.
And absolutely no offense taken. I am NOT experienced in what I'm trying to do here. You guys are the experts.
And oh yeah...to get answers I am not above groveling :-)
ASKER
Thanks
:) Any time, glad I could help
Open in new window
...For the former, you'll need to use a different method than OpenRead.