TwiN / gatus

⛑ Automated developer-oriented status page
https://gatus.io
Apache License 2.0
6.59k stars 433 forks source link

send alert message to lark failed #413

Closed Little-Mo closed 1 year ago

Little-Mo commented 1 year ago

i tried to send alert message to lark robot, but it doesn't work

gatus configuration: alerting: custom: url: "https://open.larksuite.com/open-apis/bot/v2/hook/xxxxxxxxxxxxxxxxxxxxxxxxxxx" method: "POST" data: {"msg_type":"text","content":{"text":"request example"}} endpoints:

gatus log: [watchdog][handleAlertsToTrigger] Sending custom alert because alert for endpoint=graph.nhaccuatui.com with description='' has been TRIGGERED

TwiN commented 1 year ago

Your issue probably has to do with the fact that you're using data instead of body, which is not a custom parameter.

If you still have an issue, please create a new issue using the relevant template (Bug report, in your case), and make sure to format your configuration properly as it's very difficult to read otherwise.