I am trying to implement the Decaptcher.com HTTP API in C#. I have the normal Decaptcher HTTP request correct, but I cannot get the Assira(Cat Captcha) HTTP request to work. This requires POSTing 12 images to a url with multipart/form-data.
I have tried many many different ways of posting the data...but I keep getting a blank response from Decaptcher.
According to Decaptchers website, the HTML form should look like this:
Now how do I translate that into a HTTP request?? Keep in mind I do have their normal Decaptcher service working via HTTP requests, but I just don't know how to post multiple files and google doesnt seem to help me =\
I am using HTTPWebRequest class in .net C#.
Please help!!
I have tried many many different ways of posting the data...but I keep getting a blank response from Decaptcher.
According to Decaptchers website, the HTML form should look like this:
Code:
<form
method="post"
action="http://decaptcher.com/poster/"
enctype="multipart/form-data">
<input type="hidden" name="function" value="picture2">
<input type="text" name="username" value="client">
<input type="text" name="password" value="qwerty">
<input type="file" name="pict1">
<input type="file" name="pict2">
<input type="file" name="pict3">
<input type="file" name="pict4">
<input type="file" name="pict5">
<input type="file" name="pict6">
<input type="file" name="pict7">
<input type="file" name="pict8">
<input type="file" name="pict9">
<input type="file" name="pict10">
<input type="file" name="pict11">
<input type="file" name="pict12">
<input type="text" name="pict_to" value="0">
<input type="text" name="pict_type" value="86">
<input type="submit" value="Send">
</form>
Now how do I translate that into a HTTP request?? Keep in mind I do have their normal Decaptcher service working via HTTP requests, but I just don't know how to post multiple files and google doesnt seem to help me =\
I am using HTTPWebRequest class in .net C#.
Please help!!