new to this api, just signed up, trying to run a example to get an idea of what it can do for me
wheres the image parameter in the api doc, confused... i am expecting something like this
[POST] http(s)://cloud.ocrsdk.com/submitImage?password=12345&image=http://www.clipartlord.com/wp-content/uploads/2013/01/credit-card.png
theres no clue of this on your page http://ocrsdk.com/documentation/apireference/submitImage/
and in your PHP example file
$post_array =array('my_file'=>"@".$filepath);
what is this about? this aint explained in the api docs? does it not matter if you use a parameter or not? i hope to post image programatically not via a html form? i want to see how your server responds to requests before i use cURL? can i pass multiple images or is it just one at a time? do you provide json responses format?
everything is a mystery, i just want to see something working
any help would be great answering all my questions ASAP cheers Lee
コメント
2件のコメント
The docs say The image file is transmitted in the request body. That's what this line
is for - it says that PHP runtime should read the file and attach its contents to the request body. The PHP sample should work out of the box after you specify the application id and password.
Regarding JSON format: could you please clarify why XML or TXT formats are not suitable for your task?
サインインしてコメントを残してください。