Update back-end.php
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user