[{"data":1,"prerenderedAt":316},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fsuccess-redirects":176,"\u002Fguides\u002Fsuccess-redirects-surround":311},[4,40,100,152],{"title":5,"path":6,"stem":7,"children":8,"icon":39},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,15,19,23,27,31,35],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"How Postvia works","\u002Fgetting-started\u002Fhow-it-works","1.getting-started\u002F2.how-it-works",{"title":16,"path":17,"stem":18},"First customer and website","\u002Fgetting-started\u002Ffirst-customer-and-website","1.getting-started\u002F3.first-customer-and-website",{"title":20,"path":21,"stem":22},"Create your first form","\u002Fgetting-started\u002Ffirst-form","1.getting-started\u002F4.first-form",{"title":24,"path":25,"stem":26},"Submit your first JSON request","\u002Fgetting-started\u002Ffirst-json-request","1.getting-started\u002F5.first-json-request",{"title":28,"path":29,"stem":30},"Email notifications","\u002Fgetting-started\u002Femail-notifications","1.getting-started\u002F6.email-notifications",{"title":32,"path":33,"stem":34},"Test integration","\u002Fgetting-started\u002Ftest-integration","1.getting-started\u002F7.test-integration",{"title":36,"path":37,"stem":38},"Deploy integration","\u002Fgetting-started\u002Fdeploy-integration","1.getting-started\u002F8.deploy-integration","i-lucide-rocket",{"title":41,"icon":42,"path":43,"stem":44,"children":45},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[46,48,52,56,60,64,68,72,76,80,84,88,92,96],{"title":41,"path":43,"stem":47},"2.guides\u002Findex",{"title":49,"path":50,"stem":51},"JavaScript integration","\u002Fguides\u002Fjavascript","2.guides\u002F1.javascript",{"title":53,"path":54,"stem":55},"Rate limits and retries","\u002Fguides\u002Frate-limits-retries","2.guides\u002F10.rate-limits-retries",{"title":57,"path":58,"stem":59},"Multiple recipients","\u002Fguides\u002Fmultiple-recipients","2.guides\u002F11.multiple-recipients",{"title":61,"path":62,"stem":63},"Success redirects","\u002Fguides\u002Fsuccess-redirects","2.guides\u002F12.success-redirects",{"title":65,"path":66,"stem":67},"Troubleshooting delivery","\u002Fguides\u002Ftroubleshooting-delivery","2.guides\u002F13.troubleshooting-delivery",{"title":69,"path":70,"stem":71},"TypeScript integration","\u002Fguides\u002Ftypescript","2.guides\u002F2.typescript",{"title":73,"path":74,"stem":75},"Nuxt 4 integration","\u002Fguides\u002Fnuxt","2.guides\u002F3.nuxt",{"title":77,"path":78,"stem":79},"Vue integration","\u002Fguides\u002Fvue","2.guides\u002F4.vue",{"title":81,"path":82,"stem":83},"Standard HTML forms","\u002Fguides\u002Fhtml-forms","2.guides\u002F5.html-forms",{"title":85,"path":86,"stem":87},"Turnstile integration","\u002Fguides\u002Fcloudflare-turnstile","2.guides\u002F6.cloudflare-turnstile",{"title":89,"path":90,"stem":91},"Validation errors","\u002Fguides\u002Fvalidation-errors","2.guides\u002F7.validation-errors",{"title":93,"path":94,"stem":95},"Successful submissions","\u002Fguides\u002Fsuccessful-submissions","2.guides\u002F8.successful-submissions",{"title":97,"path":98,"stem":99},"Prevent duplicates","\u002Fguides\u002Fpreventing-duplicates","2.guides\u002F9.preventing-duplicates",{"title":101,"path":102,"stem":103,"children":104,"icon":151},"API reference","\u002Fapi","3.api\u002F1.index",[105,107,111,115,119,123,127,131,135,139,143,147],{"title":106,"path":102,"stem":103},"API overview",{"title":108,"path":109,"stem":110},"Idempotency","\u002Fapi\u002Fidempotency","3.api\u002F10.idempotency",{"title":112,"path":113,"stem":114},"Security and spam protection","\u002Fapi\u002Fsecurity","3.api\u002F11.security",{"title":116,"path":117,"stem":118},"API playground","\u002Fapi\u002Fplayground","3.api\u002F12.playground",{"title":120,"path":121,"stem":122},"Base URLs and versioning","\u002Fapi\u002Fbase-urls-versioning","3.api\u002F2.base-urls-versioning",{"title":124,"path":125,"stem":126},"Submit form","\u002Fapi\u002Fsubmit-form","3.api\u002F3.submit-form",{"title":128,"path":129,"stem":130},"Short alias","\u002Fapi\u002Falias-endpoint","3.api\u002F4.alias-endpoint",{"title":132,"path":133,"stem":134},"Request headers","\u002Fapi\u002Frequest-headers","3.api\u002F5.request-headers",{"title":136,"path":137,"stem":138},"Request body","\u002Fapi\u002Frequest-body","3.api\u002F6.request-body",{"title":140,"path":141,"stem":142},"Response format","\u002Fapi\u002Fresponse-format","3.api\u002F7.response-format",{"title":144,"path":145,"stem":146},"Error codes","\u002Fapi\u002Ferrors","3.api\u002F8.errors",{"title":148,"path":149,"stem":150},"Rate limits","\u002Fapi\u002Frate-limits","3.api\u002F9.rate-limits","i-lucide-code-xml",{"title":153,"icon":154,"path":155,"stem":156,"children":157},"Resources","i-lucide-life-buoy","\u002Fresources","4.resources",[158,160,164,168,172],{"title":153,"path":155,"stem":159},"4.resources\u002Findex",{"title":161,"path":162,"stem":163},"Frequently asked questions","\u002Fresources\u002Ffaq","4.resources\u002F1.faq",{"title":165,"path":166,"stem":167},"Troubleshooting","\u002Fresources\u002Ftroubleshooting","4.resources\u002F2.troubleshooting",{"title":169,"path":170,"stem":171},"API changelog","\u002Fresources\u002Fchangelog","4.resources\u002F3.changelog",{"title":173,"path":174,"stem":175},"Migration guides","\u002Fresources\u002Fmigrations","4.resources\u002F4.migrations",{"id":177,"title":61,"apiOperation":178,"body":179,"description":305,"extension":306,"links":178,"meta":307,"navigation":308,"path":62,"related":178,"seo":309,"stem":63,"__hash__":310},"docs\u002F2.guides\u002F12.success-redirects.md",null,{"type":180,"value":181,"toc":299},"minimark",[182,191,196,199,202,212,216,235,239],[183,184,185,186,190],"p",{},"Native HTML submissions receive a ",[187,188,189],"code",{},"303 See Other"," redirect after durable acceptance. JSON clients receive a response body instead.",[192,193,195],"h2",{"id":194},"configure-the-url","Configure the URL",[183,197,198],{},"Set the form’s success URL to an HTTPS URL on an allowed website origin. Postvia validates the URL when it is saved; it never redirects to a URL supplied by the visitor.",[183,200,201],{},"If no success URL is configured, the browser redirects to the hosted thank-you page:",[203,204,210],"pre",{"className":205,"code":207,"language":208,"meta":209},[206],"language-text","https:\u002F\u002Fapi.postvia.dev\u002Fthanks\n","text","",[187,211,207],{"__ignoreMap":209},[192,213,215],{"id":214},"design-the-page","Design the page",[217,218,219,223,226,229,232],"ul",{},[220,221,222],"li",{},"Confirm the enquiry was received without claiming email delivery.",[220,224,225],{},"Keep the page accessible and usable without a session.",[220,227,228],{},"Provide a link back to the customer website.",[220,230,231],{},"Do not display private submission fields.",[220,233,234],{},"Avoid automatic redirects that trap keyboard users.",[192,236,238],{"id":237},"common-problems","Common problems",[240,241,242,255],"table",{},[243,244,245],"thead",{},[246,247,248,252],"tr",{},[249,250,251],"th",{},"Symptom",[249,253,254],{},"Cause",[256,257,258,267,275,283],"tbody",{},[246,259,260,264],{},[261,262,263],"td",{},"Redirect goes to the hosted page",[261,265,266],{},"No success URL configured.",[246,268,269,272],{},[261,270,271],{},"Save rejected",[261,273,274],{},"URL is not HTTPS or not on an allowed origin.",[246,276,277,280],{},[261,278,279],{},"303 but browser shows an error",[261,281,282],{},"The destination page is unavailable.",[246,284,285,288],{},[261,286,287],{},"Integration posts JSON but expects redirect",[261,289,290,291,294,295,298],{},"Send an HTML ",[187,292,293],{},"Accept"," header or remove ",[187,296,297],{},"Accept: application\u002Fjson",".",{"title":209,"searchDepth":300,"depth":300,"links":301},2,[302,303,304],{"id":194,"depth":300,"text":195},{"id":214,"depth":300,"text":215},{"id":237,"depth":300,"text":238},"Configure a safe thank-you URL for native HTML form submissions.","md",{},true,{"title":61,"description":305},"B5fYG8_VcMCxYG4P_NexCUTCB2ck3ZWrv5ECc5a607g",[312,314],{"title":57,"path":58,"stem":59,"description":313,"children":-1},"Deliver one submission to several server-controlled recipients independently.",{"title":65,"path":66,"stem":67,"description":315,"children":-1},"Diagnose acceptance, CORS, Turnstile and email delivery problems.",1795377932599]