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

asked 05 Jul '13, 08:15

lee%20harvey's gravatar image

lee harvey
1112

Regarding JSON format: could you please clarify why XML or TXT formats are not suitable for your task?

(09 Jul '13, 16:40) Anastasia Ga... ♦♦

The docs say The image file is transmitted in the request body. That's what this line

$post_array =array('my_file'=>"@".$filepath);

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.

link

answered 09 Jul '13, 14:02

Dmitry%20Me's gravatar image

Dmitry Me ♦♦
2387

edited 09 Jul '13, 16:42

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9

Asked: 05 Jul '13, 08:15

Seen: 3,592 times

Last updated: 09 Jul '13, 16:42

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal