Api Reference

Once you will have successfully created an account, you will be able to do a request using a simple POST request.

url : http://api.ocrapiservice.com/1.0/rest/ocr
method : POST
request parameters :

Parameter name Value
image Image to convert in text
language language code
apikey your api key (displayed on your dashboard)

Server reply

If success :
Http header status code : 200
The converted text as the response.

If an error occurred :
The http header status code correspond to the standard http error codes (link to wikipedia).
the error message will be in the response text.
Example :
Status code : 400 (Bad Request)
Response text : This image type is not allowed