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

Free Support Forum - aspose.com

Trying to POST to /recognize with an image url that includes url params

I am trying to use the recognize endpoint for barcode scanning and am passing in the our Amazon s3 secure url :

https://s3.amazonaws.com/images.development.examplecompany.com/1234.png?AWSAccessKeyId=ACCESS_KEY_HERE&Expires=1231241411&Signature=SIGNATURE_HERE%3

Without escaping the url I get a response of 403 Forbidden and I am guess that the endpoint is recognizing the ampersands as POST params. When I do escape the url the POST goes through, but the image is unable to be found. It looks like URL is not getting unescaped on the Aspose end.

This is my escaped post :

http://api.aspose.com/v1.1/barcode/recognize?type=AllSupportedTypes&url=https%3A%2F%2Fs3.amazonaws.com%2Fimages.development.examplecompany.com%2F1234.png%3FAWSAccessKeyId%3DACCESSKEY_HERE%26Expires%3D124124141%26Signature%3DSIGNATURE_HERE%3&appSID=SID_HERE

Is there any way to post an image with a barcode that has a url including ampersands and thus params.

Thanks

Hi Dev,


Thank you for contacting support. We’re investigating this issue on our end. Meanwhile, please share your complete image URL to download the image. You don’t need to provide this information in this forum thread. You can send the confidential information to any staff member via email as described here: http://www.aspose.com/corporate/purchase/faqs/send-license-to-aspose-staff.aspx