Turnstile Captcha getting Invalid response

I am getting ‘Invalid’ as a response when https://challenges.cloudflare.com/turnstile/v0/siteverify?secret=XXXXXXXXXXXX&response=XXXXXXXXXXXXX

why is it? In the UI it works fine and shows success.

https://challenges.cloudflare.com/turnstile/v0/siteverify accepts a POST body, like this:

curl -L -X POST 'https://challenges.cloudflare.com/turnstile/v0/siteverify' --data 'secret=verysecret&response=<RESPONSE>'

You will need to issue a POST on your server-side (or via a Worker for example) to verify the token. For more information see the docs:


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.