Created
April 12, 2020 05:40
-
-
Save skynet86/ed10efff24b86c136360379dc4b5d25c to your computer and use it in GitHub Desktop.
frontend-integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://www.google.com/recaptcha/api.js?render=_reCAPTCHA_site_key"> | |
</script> | |
<script> | |
grecaptcha.ready(function() { | |
grecaptcha.execute('_reCAPTCHA_site_key_', {action: 'homepage'}) | |
.then(function(token) { | |
// Send the token immediately to your backend | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment