Skip to content

Instantly share code, notes, and snippets.

Created Jun 24, 2022
What would you like to do?
Sample C# code for Uptime Robot Heartbeat Monitor
var client = new HttpClient();
// Heartbeat URL
const string url = " CODE HERE";
// Get the response.
HttpResponseMessage response = await client.GetAsync(url);
// Get the response content.
_ = response.Content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment