title: TypeError: the JSON object must be str, not 'bytes'
body: <p>I have the following, very basic code that throws; <code>TypeError: the JSON object must be str, not 'bytes'</code></p>
  
  <pre><code>import requests
  import json
  
  url = 'my url'
  user = 'my user'
  pwd = 'my password'
  
  response = requests.get(url, auth=(user, pwd))
  
  if(myResponse.ok):
      Data = json.loads(myResponse.content)
  </code></pre>
  
  <p>I try to set decode to the Data variable, as follows but it throws the same error;  <code>jData = json.loads(myResponse.content).decode('utf-8')</code></p>
  
  <p>Any suggestions? </p>