title: How to create a request to a URL and write the response to the page
body: <p>I believe I've done this before, but I can't seem to remember how:(</p>
  
  <pre><code>        HttpWebRequest request = (HttpWebRequest)WebRequest.Create("www.example.com");
          request.Method = "GET";
          HttpWebResponse response = (HttpWebResponse)request.GetResponse();
  </code></pre>
  
  <p>How do I then write the response to the page?</p>
  
  <p>Thanks a lot.</p>