title: raise JSON DecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
body: <pre><code>    def get_historical_candles(self, symbol, interval):
          data = dict()
          data['symbol'] = symbol
          data['interval'] = interval
          data['limit'] = 1000
  
          response = requests.get('https://api.binance.com/api/V3/kline', data)
  
          raw_candles = response.json()
  
          candles = []
  
          if raw_candles is not None:
              for c in raw_candles:
                  candles.append([c[0], float(c[1]), float(c[2]), float(c[3]), float(c[4]), float(c[5])])
  
          print(candles)
  </code></pre>
  <p>How can i avoid the error mentioned in the title?</p>
  <p>I have tried</p>
  <p><a href="https://stackoverflow.com/questions/51358147/fetch-candlestick-kline-data-from-binance-api-using-python-preferably-requests">Fetch Candlestick/Kline data from Binance API using Python (preferably requests) to get JSON Dat</a></p>
  <p>and it works well.</p>
  <p>However, i need to find out a solution for this approach</p>
  <pre><code> response = requests.get('https://api.binance.com/api/V3/kline', data)
  </code></pre>