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 (ClarisPKB). 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 Aspose.BarCode Cloud · GitHub. 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:

https://apireference.aspose.cloud/barcode/

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