Learn how to ingest your first submission using AWS Lambda
const ENDPOINT_URL = "https://api.formizee.com/v1/f/enp_123456"; export const handler = async(_event) => { const res = await fetch(ENDPOINT_URL, { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ name: "example", email: "[email protected]", }), }); const data = await res.json(); return new Response(JSON.stringify(data), { headers: { "Content-Type": "application/json", }, }); };
Deploy
Test
Was this page helpful?