def notify(self, message):
        """Sends the message.

        Args:
            message (str): The message to send.
        """

        if self.username and self.password:
            request = requests.post(self.url, json=message, auth=(self.username, self.password))
        else:
            request = requests.post(self.url, json=message)

        if not request.status_code == requests.codes.ok:
            self.logger.error("Request failed: %s - %s", request.status_code, request.content)
Sends the message.

        Args:
            message (str): The message to send.
        
app/notifiers/webhook_client.py