|
api documentation
First, apply for a new secure_id.
1. getting a new captcha id and image
http://www.captchair.com/remote/?secure_id=<your_secure_id>&action=new_key
this url ouputs an integer - your new "captcha_id".
2. displaying a captcha
use this url as source for the image-tag:
http://www.captchair.com/image/?id=<captcha_id>
3. verifying the captcha code
http://www.captchair.com/remote/?secure_id=<your_secure_id>&action=check_key&id=<captcha_id>&code=<entered_code>
if the output of this url-call is "1", the code is correct. otherwise the code was wrong or something other failed.
|