1
Using external storage for pdf services api
New Here
,
/t5/acrobat-services-api-discussions/using-external-storage-for-pdf-services-api/td-p/14178707
Oct 22, 2023
Oct 22, 2023
Copy link to clipboard
Copied
im using a curl api to convert pdf into xlsx using adobe pdf services api
and i want to use external storage and my prefered storage is amazon s3
to do this i require an input uri and an output uri and both need to be presign urls
i can make a presign for input uri as i have an object key but i do not know how to make an output uri
TOPICS
PDF Services API
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Adobe Employee
,
LATEST
/t5/acrobat-services-api-discussions/using-external-storage-for-pdf-services-api/m-p/14180377#M7318
Oct 23, 2023
Oct 23, 2023
Copy link to clipboard
Copied
So, I've only done this in ColdFusion, Node, and Python. It involves creating a PUT request URL for the bucket and filename for output. Here's my Node code, but it just wraps their SDK so it's probably not too helpful. That being said, if Amazon has a PHP SDK, it may help you find it:
async function getSignedUploadUrl(path) {
let command = new PutObjectCommand({ Bucket: bucket, Key:path });
return await getSignedUrl(s3Client, command, { expiresIn: 3600 });
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

