PHP

Below is an example of making a HTTP request to Unical Healthchecks from PHP.

file_get_contents('https://healthchecks.unical.it/ping/your-uuid-here');

If you would like to setup timeout and retry options, as discussed in the reliability tips section, there is a curl package available that lets you do that easily:

use Curl\Curl;

$curl = new Curl();
$curl->setRetry(20);
$curl->setTimeout(5);
$curl->get('https://healthchecks.unical.it/ping/your-uuid-here');

Note: this code does not throw any exceptions.