title: Python 3.4.1 - Reading HTTP Request Data
body: <p>I'm fairly new to Python and I'm trying to execute a HTTP Request to a URL that returns JSON. The code, I have is:</p>
  
  <pre><code>url = "http://myurl.com/"
  req = urllib.request.Request(url)
  response = urllib.request.urlopen(req)
  data = response.read()
  </code></pre>
  
  <p>I'm getting an error reading: "'bytes' object has no attribute 'read'". I searched around, but haven't found a solution. Any suggestions?</p>