title: Get the response of a HTTP GET request
body: <p>I'd like to use <a href="http://www.imdbapi.com/" rel="nofollow">http://www.imdbapi.com/</a> in Java, but I don't know I can access the http response. I tried the following:</p>
  
  <pre><code>public Map&lt;String, String&gt; get(String title)
  {
      URL url = new URL("http://www.imdbapi.com/?t=" + title);
      URLConnection conn = url.openConnection(); 
  
      conn.getContent();      
  
  }
  </code></pre>