Download a pdf to server from an API source

I’ve got a process that a user fills out a form from an api source and then after the form submits I want to download that pdf to the server on our side. So I want to do everything server side, ie I don’t want them to have to do anything client side. Is this possible from the download files action? I have a really squirrly work around where I have them click a button that copies the URL link of the pdf and then they paste it into dropzone to upload to server. But its kind of hanky. Looking for an alternate method for this process.

Or would I be able to make this work if the image/pdf ended up as an S3 bucket source? My api vendor has option to store the files S3. I haven’t done much with the s3 up and down loads actions from wappler, but didn’t know if that would work as an option.

Community Page
Last updated: