Running in debug mode, do not use in production.

Javascript

Below is an example of making a HTTP request to DEFNA Monitoring from Node.js.

var https = require('https');
https.get("https://monitoring.defna.org/ping/your-uuid-here");

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

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