We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Httppost not working for me

Hi,

I’m trying to send an httppost to recognize a remotely stored barcode but I cannot get it to work. Please help.

I am sending:

httppost://api.aspose.com/v1.1/barcode/recognize?type=PDF417&url=http://upload.wikimedia.org/wikipedia/commons/0/07/Better_Sample_PDF417.png&appSID=xxx&appKey=yyy

Why will this not work?

Thank you,
Jeffre

Hi Jeffre,

Thank you for contacting support.

jvpark:

I am sending:

httppost://api.aspose.com/v1.1/barcode/recognize?type=PDF417&url=http://upload.wikimedia.org/wikipedia/commons/0/07/Better_Sample_PDF417.png&appSID=xxx&appKey=yyy

Why will this not work?

Thank you,
Jeffre

You are passing an incorrect URI. It should be like: http://api.aspose.com/v1.1/barcode/recognize?type=PDF417&url=http://upload.wikimedia.org/wikipedia/commons/0/07/Better_Sample_PDF417.png&appSID=xxx&signature=yyy

The sign method does not return appKey parameter in the URI. We have tested against the Aspose cloud service and able to read Pdf417 code correctly. Please refer to the help topic there:

Please feel free to reply us in case of any confusion or questions.

Hi,

Thank you for responding. 2 questions please.

  1. How do I create a signature given that I am only trying to recognize a remote/url image?

  2. I am trying to read the remote image by using a Filemaker command (http://help.filemaker.com/app/answers/detail/a_id/11626/~/support-for-http-post-operations-in-filemaker-pro). Any ideas how to do this?

Thank you

Hi Jeffre,

Thank you for this inquiry. We have provided you a help topic link earlier. However, we would like to elaborate you that there are two types of examples:

  • One using our cloud SDKs, please find download links below the page https://github.com/aspose-barcode-cloud. The sample code in various languages is available on the help topic.
  • Second approach is REST example, The complete sample code in various languages is available on the help topic.

Based on query of signature parameter, all requests should be signed. To sign a URI, you need to pass two extra parameters (appSID and signature). appSID is your AppSID you get after signing up at https://aspose.cloud/ and signature is base64 encoded AppKey. You can notice Sign method in our sample codes. It’s to sign request URIs. We’re not familiar with FileMaker Pro. We’re here to provide technical support of Aspose APIs.

Please refer to the Sign method code there:

We hope, this helps. Please feel free to reply us in case of any confusion or questions.