API Download
Download C# Example
Download php Example
iMacros Example
Plugin for software’s
Download plugin for myaddtools-z
API Introduction
HTTP Request URL : http://fasttypers.org/Imagepost.ashx
Image upload URL for macros : http://fasttypers.org/ImageUpload.aspx
You can access our service through simple HTTP request response model.
You can upload a base64 encoded image file or upload a file with your Access key, We will decode and send it back to you as response text.
Method 1: Base64 string upload
Request Parameters:
Action = upload
gen_task_id = A unique task id given by you to use as reference of every job sent to our server. You will use this Task Id for refund claim.
Key = The secret Access Key given to you.
file = base64 encoded image file
Optional parameters :
captchaType = 2 (for case sensitive captchas)
Base64 string upload Example
<form action="http://fasttypers.org/imagepost.ashx" method="post" enctype="multipart/form-data">
<input type="text" name="action" value="upload"/>
<input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
<textarea name="file"></textarea>
<input type="text" name="gen_task_id" value="1"/>
<input type="text" name="captchatype" value="2"/>
<input type="submit" value="Submit"/>
</form>
Response from server : Text shown in Image on successful decoding
Example : GH87Ui
Method 2: Image Upload via file uploading
Request Parameters:
Action = upload
gen_task_id = A unique task id given by you to use as reference of every job sent to our server. You will use this Task Id for refund claim.
Key = The secret Access Key given to you.
file = image file.
Optional parameters :
captchaType = 2 (for case sensitive captchas)
Upload a file Example:
<form action="http://fasttypers.org/imagepost.ashx" method="post" enctype="multipart/form-data">
<input type="text" name="action" value="upload"/>
<input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
<input type="file" name="file" value=""/>
<input type="text" name="gen_task_id" value="11111"/>
<input type="submit" value="Submit"/>
</form>
Response from server : Text shown in Image on successful decoding
Example : xyz87Ui
Balance Query
Request Parameters:
Action= balance
Key=The secret access key given to you.
Balance Query Example:
<form action="http://fasttypers.org/imagepost.ashx" method="post" enctype="multipart/form-data">
<input type="text" name="action" value="balance"/>
<input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
<input type="submit" value="Submit"/>
</form>
Response from server : Balance is given as number
Example : 50890
Refund Request
Request Parameters:
Action = refund
gen_task_id = The unique task of the job.
Key = The secret access key given to you.
Refund Request Example:
<form action="http://fasttypers.org/imagepost.ashx" method="post" enctype="multipart/form-data">
<input type="text" name="action" value="refund"/>
<input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
<input type="text" name="gen_task_id" value="11111"/>
<input type="submit" value="Submit"/>
</form>
Response from server : ok
Error Messages :
Error message Format : Error space Error_message
Example:
For Invalid TASK ID : Error Invalid_TASK_ID
For BAD_IMAGE : Error Invalid_IMAGE
For INVALID REQUEST : Error INVALID_REQUEST
For QUEUE LIMITED : Error QUEUE_LIMITED
For NOT ENOUGH FUND : Error NOT_ENOUGH_FUND
For TIMEOUT : Error TIMEOUT
For incorrect access key : Error Invalid_Access_Key
For other/unknown error : Error_UNKNOWN
For refund request : OK