Skip to content

Instantly share code, notes, and snippets.

@viniciussanchez
Last active March 24, 2021 21:59
Show Gist options
  • Save viniciussanchez/438969a6aaa27be611c7a587250b1719 to your computer and use it in GitHub Desktop.
Save viniciussanchez/438969a6aaa27be611c7a587250b1719 to your computer and use it in GitHub Desktop.
reCAPTCHA v3
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>reCaptcha</title>
<script src="https://www.google.com/recaptcha/api.js?render=PUBLIC KEY"></script>
</head>
<body>
<script>
grecaptcha.ready(function() {
grecaptcha.execute('PUBLIC KEY').then(function(token) {
console.log(token);
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment