title: Call a url from javascript
body: <p>Is there a way to call a url and get a response using javascript?
  I need the equivalent of ASP.NET:<br></p>
  
  <pre><code>WebRequest req = HttpWebRequest.Create("http://someurl.com");
  WebResponse webResponse = req.GetResponse();
  </code></pre>
  
  <p>I have an external url that holds some information I need and I want to call this url from javascript and parse the response in order to determine what to do in my application.</p>