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
{{ message }}
Repository navigation
Commit eb130dc
Browse filesBrowse the repository at this point in the historyBrowse files
- Optional Callback URL (redirect users here after a successful submission)
140
142
141
143
### 2. Integrate with Your Static Site
142
144
@@ -165,6 +167,8 @@ Form submissions will be:
165
167
3. Forwarded to your specified email address
166
168
4. Stored in the database for review
167
169
170
+
If you configured a Callback URL on the form, the submitter will be redirected to that URL with an HTTP 303 See Other after a successful submission. If no Callback URL is configured, the API responds with a JSON payload indicating success (HTTP 201 Created).
"SELECT id, user_id, name, domain, turnstile_secret, forward_email, form_key, created_at, updated_at FROM forms WHERE id = ?",
45
+
"SELECT id, user_id, name, domain, turnstile_secret, forward_email, COALESCE(callback_url, ''), form_key, created_at, updated_at FROM forms WHERE id = ?",
"SELECT id, user_id, name, domain, turnstile_secret, forward_email, form_key, created_at, updated_at FROM forms WHERE user_id = ? ORDER BY created_at DESC",
62
+
"SELECT id, user_id, name, domain, turnstile_secret, forward_email, COALESCE(callback_url, ''), form_key, created_at, updated_at FROM forms WHERE user_id = ? ORDER BY created_at DESC",
0 commit comments