コミュニティ

Passing pdf file to server

Morning

The help says:

http(s)://cloud.ocrsdk.com/processImage and then says 'The image file is transmitted in the request body'

How do I do that?

In my application Windev I use something like this;HTTPCreateForm("FORM")
HTTPAddParameter("FORM", "method", "processImage")
HTTPAddParameter("FORM", "language", "english")
HTTPAddParameter("FORM", "exportformat", "pdfSearchable")
HTTPAddFile("FORM", "filepath", "D:\Google Drive\ScanSnap\Ekhuhurleni2.pdf")
HTTPSendForm("FORM", "http://cloud.ocrsdk.com")

I get a result that says 'Object moved to /Account/Welcome

Any suggestions please?

 

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Anna Savinova

    You should send request to "http(s)://cloud.ocrsdk.com/processImage"not "http(s)://cloud.ocrsdk.com/". So try to remove the line "HTTPAddParameter("FORM", "method", "processImage")" and change the target URL.

    0

サインインしてコメントを残してください。