You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove configurable endpoint option and update documentation
- Removed the optional parameter from FormsReach initialization and submission options.
- Updated the SDK to use a fixed submit URL: .
- Adjusted documentation across various files to reflect these changes and clarify that the endpoint is not configurable.
-`POST` to the fixed FormsReach endpoint `https://app.formsreach.com/api/v1/submit` (baked into the SDK; not configurable)
107
102
- Body JSON: form fields + `api_key` + `_gotcha` (non-empty → silent spam) + `_ts` (render ms; too fast → silent spam; missing skips)
108
-
-`init` / React / Vue auto-inject `_gotcha` + `_ts` via `ensureSpamFields`. Raw HTML POST without the SDK must include both in markup.
103
+
-`init` / React / Vue auto-inject `_gotcha` + `_ts` via `ensureSpamFields`. Raw HTML POST without the SDK must include both in markup, and posts to a different host: `https://api.formsreach.com/submit`.
109
104
- Programmatic `submitForm({ data })` without a form does not invent `_ts` (server skips time-trap).
0 commit comments