async function onTurnstileSuccess(token) { const response = await fetch("https://backend.altafcreator.com/email", { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({"token": token}), }); const result = await response.json(); if (result.status) { alert(result); } else { alert("fail"); } }