Kei
Aug 13, 2024
1 min read
3 views
Type ``` to start embedding code snippet.
def send_notification_to_slack(webhook_url, message): payload = {'text': message} response = requests.post(webhook_url, json=payload) return response.status_code
Written by Kei
Co-founder of Glasp