How to Harvest the HTML Response from a Server?

B

Brad

This seems so elementary and obvious that it escapes my notice!

I'm just trying to post a simple query string with parameters (e.g.,
www.google.com?key1=value1&key2=value2) and harvest the response from the
server without using an .aspx page. How do you do that in ASP.NET?

This seems so simple it's embarassing to even ask. Thanks in advance for
any help!
 
K

KJ

You can also use the WebClient control (System.Net.WebClient). Add it
to your toolbox. Or perhaps you can use the HttpWebRequest class and
call the GetResponse() method.

-KJ
 
B

Brad

Thanks, KJ!

I'm gonna look into the WebClient control right now. I'm open to as many
methods I can learn

Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top