DEV Community

loading...

Discussion on: Adding reCaptcha v3 to a Rails app without a gem

Collapse
morinoko profile image
Felice Forby Author

Hmm, it does look like the Google documentation says to make a POST request...

Honestly, when I wrote this (and still now), I had a really hard time understanding how the ReCaptcha worked, so I had to reference some other articles. Those articles all used Net::HTTP.get_response(uri) to get back the verification response.

You could try to make it a POST request instead and see how it works. I haven't tried it myself yet!