C#

Below is an example of making an HTTP request to Healthchecks2 from C#.

try
{
    using (var client = new System.Net.Http.HttpClient())
    {
        client.Timeout = System.TimeSpan.FromSeconds(10);
        client.GetAsync("https://healthchecks2.niyawe.de/ping/your-uuid-here").Wait();
    }
}
catch (System.Exception ex)
{
    System.Console.WriteLine($"Ping failed: {ex.Message}");
}