How To Use Death By Captcha In Java With URL Captcha Images

When I started implementing Death By Captcha, I checked their documentation and some sample code so my coding will speed up once I get an idea how to use their service.

It is actually very simple but the sample code does not involve submitting captcha images in URLs. I did not want to save the captcha images then upload to them because that will take time.

If the captcha you are involved with has a first answer first serve situation, then you would be out of luck because saving the captcha image, uploading it and using Death By Captcha‘s service takes time.

Not that much, but even losing a few seconds is already big.

Their API does support submitting URL captcha images but the problem then is that if you get an incorrect answer, there is no way for you (or them) to know that the answer sent back to you was incorrect because they do not keep such history when it comes to image URLs.

Take this as a risk. If you really want to have some sort of history recorded whenever you use their service, then you are better of submitting physical files to them.

Anyway, in case you are interested with image URLs submitted rather than physical files, here is my class utility method that does just that.

Related Posts Plugin for WordPress, Blogger...

4 comments

  1. Hello,

    while importing packages i am getting an error. can’t import.. Can you please tell me why it is happening?

Leave a Reply

Your email address will not be published. Required fields are marked *