Javascript

Below is an example of making an HTTP request to Health Checks from Node.js.

var https = require('https');
https.get('https://healthcheck.ddmnet.com/ping/your-uuid-here').on('error', (err) => {
    console.log('Ping failed: ' + err)
});

You can also send pings from a browser environment. Health Checks sets the Access-Control-Allow-Origin:* CORS header, so cross-domain AJAX requests work.

var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://healthcheck.ddmnet.com/ping/your-uuid-here', true);
xhr.send(null);