def METHOD_NAME(self, url, data):
    headers = {'Authorization': f'Bearer {self.slack_token}'}
    response = requests.post(url, json=data, headers=headers)
    try:
        response.raise_for_status()
    except RequestException as e:
        raise SlackException(e)
    return response