How to retrieve pdf files stored in SAASPOSE via REST from Salesforce

I am trying to make a rest call, but i am again and again redirected to the error page. Please help me with some live example, or let me know the exact format of url that i need to hit, in order to GET a pdf file’s fields.

Using AppId and how to create a Signature.

Thanks
Varun

Submitted from: https://apps.saaspose.com/App

Hi Varun,

Please have a look at Aspose.Pdf Cloud - API References for live examples to extract all or specific fields from a PDF. Request format is http://api.saaspose.com/v1.0/pdf/f1040.pdf/fields?appSID=a13a914f-75c2-4aa6-b91d-4dbaae38d60e&signature=K3qjd928VhHO5qItdA2HNxKlEh4

Here ‘appSID’ parameter is the App SID that you get after signing up at saaspose.com and ‘signature’ parameter is the base64 encoded App key. Please check Aspose.Pdf Cloud - API References for Saaspose.Pdf API, Developer Guide|Documentation examples and Aspose.PDF Cloud · GitHub for SDK examples.

Please also share your development environment to get links to more specific examples.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi

Please find the URL I am hitting and the response I am getting.

Endpoint=
http://api.saaspose.com/v1.0/pdf/New_Application.pdf/fields?appSID=aa4d9d34-xxxx-yyyy-a9ec-e53dabcdef&signature=ZDASsdsQWfsasWFiYmM1ODU0ZWUwMGZjYjQ5ZTc=

The above mentioned is the exact url I am hitting, I have changed my
appSID and SIGNATURE String in the url. Please let me know what wrong is
happening from my side.

Method=GET]

System.HttpResponse[Status=Internal Server Error, StatusCode=500]

################ Response #################<?xml version="1.0"
encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">

Request Error

The server encountered an error processing the request.
Please see the service http://api.saaspose.com/v1.0/pdf/help service help page for
constructing valid requests to the service.

Hi Varun,

Have you uploaded your file to Saaspose storage? Saaspose can directly process files from Amazon S3, DropBox, GoogleDrive and GoogleCloud storages at the moment.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Yes I have uploaded a test pdf file with the name given, for signature I am
just doing a base64encoding of the key.

Hi Varun,

Your URI looks ok. Can you please share your code for further investigation? Sorry for the inconvenience.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Varun,

Please share your code as requested by our team. We'll be able to help you properly once you provide us the sample code. This will help us investigate the issue properly. We appreciate your cooperation in this regard.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.