How to validate Google reCAPTCHA v3 on server side?
Private key safety While the answers here are definately working, they are using a GET request, which exposes your private key (even though https is used). On Google Developers the specified method is POST. For a little bit more detail: https://stackoverflow.com/a/323286/1680919 Verification via POST function isValid() { try { $url=”https://www.google.com/recaptcha/api/siteverify”; $data = [‘secret’ => ‘[YOUR … Read more