Javascript

Below is an example of making a HTTP request to Healthchecks.io from Node.js.

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

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

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