title: TypeError: 'Response' object has no attribute '__getitem__'
body: <p>I am trying to get a value from a response object in a dictionary, but I keep running into this error, am I wrong in thinking you <code>__getitem__</code> is more commonly used for indexing in classes?</p>
  
  <p>Here is the code:</p>
  
  <pre><code>import json
  import requests
  from requests.auth import HTTPBasicAuth
  
  url = "http://public.coindaddy.io:4000/api/"
  headers = {'content-type': 'application/json'}
  auth = HTTPBasicAuth('rpc', '1234')
  
  payload = {
    "method": "get_running_info",
    "params": {},
    "jsonrpc": "2.0",
    "id": 0,
  }
  
  response = requests.post(url, data=json.dumps(payload), headers=headers,   auth=auth)
  
  
  print("respone is: ", response['result'])
  </code></pre>