How to Harvest the HTML Response from a Server?

  • Thread starter Thread starter Brad
  • Start date Start date
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!
 
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
 
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

Back
Top