Arc Forumnew | comments | leaders | submitlogin
3 points by krapp 494 days ago | link | parent

It's just the default Recaptcha response found here[0]:

    {"success": true,  
     "challenge_ts": "2018-08-03T22:31:05Z",  
     "hostname": ""}

edit: I went ahead and pushed my current working branch[1] if anyone wants to see it.


2 points by hjek 485 days ago | link

Great, that looks fine. Then you can just access the `success` key like this:

    ($ (require json))
       ((w/instring json "{\"success\":false}"
                          ($.read-json json))
       'success ; proceed to login
       'fail    ; must be a robot then