I am trying to add Google reCAPTCHA v2 to my form but it is not displaying. I have the script
<script src="//www.google.com/recaptcha/api.js"></script>
<div class="g-reCAPTCHA" data-sitekey="A key (original key in here)"></div>
inside of the form before the submit button. I am also using bootstrap code.
I tested this on a seperate page called test.html and it loads but not on this page.
I get the error in the console: GET https://www.google.com/reCAPTCHA/api.js net::ERR_ABORTED 404
If you go to the link it is a 404 error.
Try changing that link to https://www.google.com/recaptcha/api.js
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.