I was trying to use this code in my worker and I was getting missing-input-secret even though the request was sending all the information. Ended up finding this post: https://stackoverflow.com/questions/52416002/recaptcha-error-codes-missing-input-response-missing-input-secret-when-v
Changing to url-encode fixed the issue.
|
'Content-Type': 'application/json' |
I was trying to use this code in my worker and I was getting
missing-input-secreteven though the request was sending all the information. Ended up finding this post: https://stackoverflow.com/questions/52416002/recaptcha-error-codes-missing-input-response-missing-input-secret-when-vChanging to url-encode fixed the issue.
recaptcha-worker/index.js
Line 52 in 01d3c50