code: def execute(self, method, **kwargs):
          
          payload = {
              'id': 1,
              'jsonrpc': '2.0',
              'method': method,
              'params': kwargs
          }
  
          credentials = base64.b64encode('{}:{}'.format(self._username, self._password).encode())
          auth_header_prefix = 'Basic ' if self._auth_header == DEFAULT_AUTH_HEADER else ''
          headers = {
              self._auth_header: auth_header_prefix + credentials.decode(),
              'Content-Type': 'application/json',
          }
  
          return self._do_request(headers, payload)
docs: Call remote API procedure
  
          Args:
              method: Procedure name
              kwargs: Procedure named arguments
  
          Returns:
              Procedure result
  
          Raises:
              urllib2.HTTPError: Any HTTP error (Python 2)
              urllib.error.HTTPError: Any HTTP error (Python 3)