def METHOD_NAME(self, url, name, parameters = {}, method = 'POST'):
    headers = self.get_headers()
    if method == 'POST':
        response = self.client.post(self.context.url + url, json=parameters, headers=headers, name=name)
    elif method == 'PATCH':
        response = self.client.patch(self.context.url + url, json=parameters, headers=headers, name=name)
    else:
        response = self.client.get(self.context.url + url, headers=headers, name=name)
    if response.status_code in [200, 204]:
        return response
    return response