Update back-end.php

This commit is contained in:
Laurens van der Drift
2024-05-27 21:08:30 +02:00
parent c05646df34
commit 29677a6beb

View File

@@ -1,11 +1,10 @@
<?php <?php
// Define the URL and API key for the metrics endpoint // Define the URL and API key for the metrics endpoint
$url = '<yourURL>/metrics'; //your URL $url = '<yourURL>/metrics'; //your URL
$username = ''; //leave empty
// Retrieve an API key from the UptimeKuma dashboard here <yourURL>/settings/api-keys // Retrieve an API key from the UptimeKuma dashboard here <yourURL>/settings/api-keys
$password = '***************'; //your API key $password = '***************'; //your API key
$username = ''; //leave empty
// Initialize a new cURL session // Initialize a new cURL session
$ch = curl_init($url); $ch = curl_init($url);