// Define the URL for the POST request const url = 'https://app.sendmails.io/frontend/websites/63c5cfb4a620c/check-js'; // Make a GET request using fetch fetch(url) .then(response => { if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } return response.json(); }) .then(data => { // Handle the data from the response console.log(data); }) .catch(error => { // Handle errors during the request console.error('Fetch error:', error); });