There may be cases where you want to download the whole audio file before loading it into the HTML5 Audio widget.
In my case, while it is easy to just set the URL to the source of the HTML5 Audio widget, it does not work if the URL is cross-domain.
Downloading the whole binary was the only solution that I came up with.
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.