[GH-ISSUE #254] Feature request: Add other HTTP verbs, separate up / down data fields, to webhook #186

Closed
opened 2026-02-25 23:41:30 +03:00 by kerem · 1 comment
Owner

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}

Originally created by @Grayda on GitHub (May 20, 2019). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/254 I'm using [Cachet](https://cachethq.io) 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](https://github.com/Auroras-live/Cachet/commit/6357e971348927e57bf36d3a6492939d1f244f04) [Cachet](https://github.com/Auroras-live/Cachet/commit/9a0e18cf3d016042f648bc50d0e5f9d01802155a) 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}`
kerem closed this issue 2026-02-25 23:41:30 +03:00
Author
Owner

@cuu508 commented on GitHub (May 20, 2019):

Duplicate of #249

<!-- gh-comment-id:494135372 --> @cuu508 commented on GitHub (May 20, 2019): Duplicate of #249
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#186
No description provided.