// // Check if API key is present and matches expected value // $apiKey = isset($_GET["apiKey"]) ? $_GET["apiKey"] : ""; // // Replace "YOUR_EXPECTED_API_KEY" with your actual API key // $expectedApiKey = "b8fa69ea4e38f0517d5a6a21727e251fdcf974012ab1181cb519713b9c9450fa"; // if ($apiKey !== $expectedApiKey) { // // If API key is incorrect or missing, respond with an error // echo "ERROR: Unauthorized"; // exit; // }