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)://

theres no clue of this on your page

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

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.


answered 09 Jul '13, 14:02

Dmitry%20Me's gravatar image

Dmitry Me ♦♦

edited 09 Jul '13, 16:42

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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



Asked: 05 Jul '13, 08:15

Seen: 3,712 times

Last updated: 09 Jul '13, 16:42

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