In order to validate a captcha in Clojurescript I'm using cljs-http like this:
(def verify-url "https://www.google.com/recaptcha/api/siteverify")
;...
(http/post verify-url {:json-params {:secret key :response captcha-data}})
;...
...and the result is is:
{:status 0,
:success false,
:body "",
:headers {},
:trace-redirects ["https://www.google.com/recaptcha/api/siteverify" "https://www.google.com/recaptcha/api/siteverify"],
:error-code :http-error,
:error-text " [0]"}
What does this mean?
Thanks!