builder.Services.AddHealthChecksUI(
options =>
{
options.AddWebhookNotification("WebHookTest",
uri: "Auth/WebhookNotificationError",
payload: "{ "message": "Webhook report for [[LIVENESS]]: [[FAILURE]] - Description: [[DESCRIPTIONS]]"}",
restorePayload: "{ "message": "[[LIVENESS]] is back to life"}");
}
).AddInMemoryStorage();
I try to get call when the result is unhealthy. I also try with an api for call but not working.
New contributor