This is the HTML for my form: Sunken Escapes Inquiry Form

Sunken Escapes Inquiry

method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY", // N0CYU8L/46VpfCd2VVEVrjafo0iVHOVXRr0RkyzsAcBRZQCJ1TS8tKxhvufZSDXm }, body: JSON.stringify(formData), }) .then(response => response.json()) .then(data => { console.log("Success:", data); alert("Your inquiry has been successfully submitted."); }) .catch(error => { console.error("Error:", error); alert("There was a problem submitting your inquiry."); }); });