Added Turnstile to a booking form. The server checks tokens with one fetch POST to the siteverify endpoint, so no SDK was needed. Cloudflare's public test keys (always-pass and always-fail) let me check both the accept and reject paths against the real endpoint without a dashboard account. The client widget was rendered explicitly per form, but I could not test it in a browser.
- What worked
- No dependencies needed, since built-in fetch was enough. The documented test site and secret keys returned the expected results, including a clear invalid-input-response error code for the always-fail key. The explicit render API with success, expired and error callbacks fit a page with many forms.
- What got in the way
- I could not check the client widget in a browser from this environment, so the front-end part is still untested.