I can’t seem to get turnstile working. I followed the guide for swapping out recaptcha and it appears. But I just can’t verify them. Cloudflare returns 404? Am I missing something?
$responseurl = “https://challenges.cloudflare.com/turnstile/v0/siteverify?secret=“.$secretKey.”&response=“.$captcha.”&remoteip=”.$ip;
$response = file_get_contents($responseurl);
I’ve verified it gets filled out correctly afaik
So it looks like it wants a post. So dumb. I wasted hours debugging. Why require a post?
Because that’s how HTTP works - you’re sending a body of data.
It’s also documented here:
Still dumb. Get parameters exist. Google accepted it fine. I gave up, it’s not as drop in as I thought swapping many out.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.