mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
efa0d90093
Team's webhook API does not always use the status code to communicate errors. There are cases where it returns 200 and an error message in the body. For example, 429 - Too Many Requests or when the message is too large. Instead, what we should be looking for is a response body = "1". https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL#send-messages-using-curl-and-powershell |
||
---|---|---|
.. | ||
codes_test.go | ||
codes.go | ||
email.go | ||
mailer.go | ||
mock.go | ||
notifications_test.go | ||
notifications.go | ||
send_email_integration_test.go | ||
smtp_test.go | ||
smtp.go | ||
testing.go | ||
webhook.go |