#Turnstile multiple submissions

1 messages · Page 1 of 1 (latest)

proper light
#

Hello,

I recently implemented Turnstile into my website's form (which can be submitted multiple times), but it'll return False every time that it is clicked more than once - is this intended?

note: the backend is in Python, but it works normally for the first try.

shell talon
#

I believe it is:

A response may only be validated once. If the same response is presented twice, the second and each subsequent request will generate an error stating that the response has already been consumed. If an application requires to retry failed requests, it must utilize the idempotency functionality. You can do so by providing a UUID as the idempotency_key parameter of your POST request when initially validating the response and the same UUID with any subsequent request for that response.
https://developers.cloudflare.com/turnstile/get-started/server-side-validation/

proper light
#

alright, so i have to store the UUID of that IP if I want to handle multiple submissions?

proper light