<?php
$ch = curl_init();

// Set the URL of the Node.js server
curl_setopt($ch, CURLOPT_URL, "https://aqua-x.co/data");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Execute the request and fetch the response
$response = curl_exec($ch);

// Check for cURL errors
if (curl_errno($ch)) {
    echo 'cURL Error: ' . curl_error($ch);
} else {
    // Print the response
    echo "Server Response: " . $response;
}

// Close the cURL session
curl_close($ch);
?>
