title: How to GET data from end point using JavaScript?
body: <p>There is some data stored at a end point(url).  And the file is a .jsp file.</p>
  
  <p>The following is the data.</p>
  
  <pre><code>{"successful":"true","rows":[{"zip":"56431","user_id":"35","name":"test"}]}
  </code></pre>
  
  <p>How can I get the data from this end point? www.test.com/test.jsp</p>
  
  <p>i.e. something like this</p>
  
  <pre><code>var data = get("www.test.com/test.jsp"); 
  var jsonObj = JSON.parse(data);
  </code></pre>
  
  <p>etc..</p>
  
  <p>Is that possible?</p>