Larry Brister
asked on
httplistener add paramaters
I am able to start a httplistener using the following code (masked url of course)
Dim listener As New HttpListener()
listener.Prefixes.Add(https://hostedconnect.themnet.com/m1/m11/)
listener.Start()
How would I add paramaters to this?
I need to pass 3 paramaters
name=somevalue
usr=someuser
pwd=somepassword
Dim listener As New HttpListener()
listener.Prefixes.Add(https://hostedconnect.themnet.com/m1/m11/)
listener.Start()
How would I add paramaters to this?
I need to pass 3 paramaters
name=somevalue
usr=someuser
pwd=somepassword
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This one was the most help
listener.Prefixes.Add("https://hostedconnect.themnet.com/m1/m11/?name=somevalue&usr=someuser&pwd=somepassword")
listener.Prefixes.Add("https://hostedconnect.themnet.com/m1/m11/?name=somevalue&usr=someuser&pwd=somepassword")
ASKER
Errors below...but the listener started...no error on prefixes.
Does this just mean I have wrong parameters?
When I did that I goit the following error
When I added the / at the end, I get