mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #254] Feature request: Add other HTTP verbs, separate up / down data fields, to webhook #186
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Grayda on GitHub (May 20, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/254
I'm using Cachet and HC to automate my public-facing status page. HC's webhook integration allows you to POST data, but Cachet requires you to PUT data instead. Also it can only accept a numeric status (e.g. 1 = OK, 2 = Performance issues, 3 = Minor outage, 4 = Major outage) and not a string ("up" or "down")
To get around this I've modified Cachet to accept POST commands in place of PUT commands, and have set up an IF statement so that "up" = 1, and "down" = 4.
I'd love it if HC would support more HTTP verbs (e.g. PUT, PATCH, DELETE etc.), and if you could send separate data for up and down events, so for the up endpoint I could send
{"status": 1}, and for the down endpoint send{"status": 4}@cuu508 commented on GitHub (May 20, 2019):
Duplicate of #249