/s/<form-id>.
For the hosted service:
What the endpoint accepts
Formbase accepts the formats that browsers and APIs commonly send:multipart/form-data(for file uploads)application/x-www-form-urlencoded(standard HTML forms)application/json(server submissions and API-style posts)
The same
/s/<form-id> path is used for both POST submissions and the built-in success page. Browser posts return a 303 redirect to that page.Example submissions
- HTML
- Server JSON
index.html
enctype="multipart/form-data" when uploading files.CORS and preflight
Formbase responds toOPTIONS preflight requests on /s/<form-id> and allows cross-origin POSTs by default. This makes it easy to post from any frontend.