def METHOD_NAME(self, url):
    url = f'{self.baseurl}/{url}'
    header = { 'Authorization' : f'Basic {self.token}', 'Accept' : 'application/json' }
    result = self.session.METHOD_NAME(url, headers=header, verify=self.sslcert)
    code = result.status_code
    result = result.json()
    status = result.pop('status')
    if code == 200:
        result['error'] = None
    else:
        result['error'] = status
    return result