const resp = await fetch("/.netlify/functions/verify", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ idToken }), }); const data = await resp.json(); // <-- WAG JSON.parse(...)