Just getting started and attempted to post to http://cloud.ocrsdk.com/processImage and I'm getting back a 500 with contents:

<error><message language="english">Internal Server Error</message></error>

asked 11 Mar '14, 02:23

robert's gravatar image

robert
111

Could you try to use one of our code samples http://ocrsdk.com/documentation/code-samples/ and let us know if the issue still occurs?

(11 Mar '14, 17:34) Anastasia Ga... ♦♦

Looks like Content-Type is required (which makes sense) so added this to the header and everything worked.

Content-type: image/tiff

Content-Length: nnn

Perhaps mentioning in the documentation would be helpful (I admit that it is in the http POST spec, but most libraries including java's Connection don't enforce it)

link

answered 11 Mar '14, 19:15

robert's gravatar image

robert
111

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:

×41

Asked: 11 Mar '14, 02:23

Seen: 891 times

Last updated: 11 Mar '14, 19:15

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