AnsweredAssumed Answered

remote root oject verify recaptcha

Question asked by thinhnk on Mar 7, 2013
I have a question that can we verify Recaptcha of Google via remote root-zcoped object, and how can we do it. I do as following but it doezn't seem to work.

uri = ""
body = "privatekey=" + encodeURI(privatekey) + "&remoteip="
    + encodeURI(remoteIp) + "&challenge=" + encodeURI(recaptcha_challenge_field) + "&response=" + encodeURI(recaptcha_response_field);
   var connector = remote.connect("http");
   var result = connector.get(uri);
                model.success = true;
      model.message = new String(result.response);

Thank you for any help.