title: requests post throws error raise JSONDecodeError("Expecting value", s, err.value) from None
body: <p>I'm at a loss here, this is the python : </p>
  
  <pre><code>jsonrpc_req = '{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listCompetitions", "params": {"filter":{ "eventTypeIds" : [1]  }}, "id": 1}'
  
  print(json.dumps(json.loads(jsonrpc_req), indent=3))
  
  print(" ")
  
  response = requests.post(url, data=jsonrpc_req, headers=headers)
  
  print(json.dumps(json.loads(response.text), indent=3))
  </code></pre>
  
  <p>and it throws this :  <code>raise JSONDecodeError("Expecting value", s, err.value) from None
  json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)</code></p>
  
  <p>Which I am assuming means that there is something wrong with jsonrpc_req</p>
  
  <p>however the output from the json.dumps looks ok : </p>
  
  <pre><code>{
     "jsonrpc": "2.0",
     "method": "SportsAPING/v1.0/listCompetitions",
     "params": {
        "filter": {
           "eventTypeIds": [
              1
           ]
        }
     },
     "id": 1
  }
  </code></pre>
  
  <p>The server response was also 410. </p>
  
  <p>I don't understand how it can be getting None </p>