I try to test the Cloud OCR SDK for a new project.
First, I do a POST request http://login:email@example.com/processImage?language=english&profile=documentConversion&exportFormat=txt (using the t1.TIF image exemple).
I got the /response/task/ id xxxxxxx in return.
Then I do a GET request http://login:firstname.lastname@example.org/getTaskStatus?taskId=xxxxxx with this id.
It's quickly status="complete" and I got the /response/task/ resultUrl, something like this :
http://ocrsdk.blob.core.windows.net/files/64b60bc9-4706-4680-9e0e-cfcce55e310e.result? sv=2012-02-12 &se=2015-08-19T20:00:00Z &sr=b &si=downloadResults &sig=Ob1JQH3I3VhleKoFl2RMCx4j2JBjeo/IFF/d1A2iOlI=
but I can't succeed in use this URL, I have always an error InvalidAuthenticationInfo - Authentication information is not given in the correct format. Check the value of Authorization header.
I try to add login:password in the request : https://login:email@example.com/... as I do for the first requests, but it does not change anything.
Maybe you can tell me what I do wrong ?
Thanks for your help,
asked 19 Aug '15, 17:06
Please compare my resultUrl generated with my program with yours.
I see two differences:
answered 20 Aug '15, 16:18
Oksana Serdyuk ♦♦