Hi Neal,

I have done a successful implementation of Google reCaptcha for one of my 
customers.

I pass the request by http request, parameters inside the url, e.g.

https://www.google.com/recaptcha/api/siteverify/?secret=[Key]&response=[Response]&remoteip=[client_IP]

I get the response inside the response parameter of http request (JSON).

HTH,

Olivier

|||||| https://flury-software.ch/

-----Ursprüngliche Nachricht-----
Von: 4D_Tech <[email protected]> Im Auftrag von Neal Schaefer via 
4D_Tech
Gesendet: Montag, 10. Februar 2020 04:53
An: [email protected]
Cc: Neal Schaefer <[email protected]>
Betreff: Google reCaptcha - Verifying a Response in 4D

Wondering if anyone has written a form submit method that successfully calls 
the Google API using HTTP Request to validate a recaptcha response? We'd like 
to write it in 4D directly (rather than PHP or similar). We can get a response 
but no matter how we send the parameters (text, object, JSON, encoded, not 
encoded) - we're getting the following error:



error-codes": [
    "missing-input-response",
    "missing-input-secret" ]

The docs are pretty straightforward: 
https://developers.google.com/recaptcha/docs/verify

If anyone has been successful doing this  - we'd appreciate any input you might 
have.

Thanks in advance,

Neal Schaefer
ABC-CLIO
[email protected]<mailto:[email protected]> | 
www.abc-clio.com<http://www.abc-clio.com/>



**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to