def _call(self, method, params):
url = self.URL % {'<STR_LIT>': self.base_url, '<STR_LIT>': method}<EOL>params['<STR_LIT>'] = {'<STR_LIT>': self.api_token}<EOL>data = {<EOL>'<STR_LIT>': json.dumps(params, sort_keys=True),<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': True<EOL>}<EOL>logger.debug("<STR_LIT>",<EOL>method, str(data))<EOL>r = self.fetch(url, payload=data, method=HttpClient.POST, verify=False)<EOL>result = r.json()<EOL>if result['<STR_LIT>']:<EOL><INDENT>raise ConduitError(error=result['<STR_LIT>'],<EOL>code=result['<STR_LIT>'])<EOL><DEDENT>return r.text<EOL>
Call a method.

        :param method: method to call
        :param params: dict with the HTTP parameters needed to call
            the given method

        :raises ConduitError: when an error is returned by the server