• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Using external storage for pdf services api

New Here ,
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

Views

186

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 23, 2023 Oct 23, 2023

Copy link to clipboard

Copied

LATEST

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 });
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources