Webhook is not working for health check ui in .net core 6

  Kiến thức lập trình
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

OmmDipta Rout is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT