pdf-turtle icon indicating copy to clipboard operation
pdf-turtle copied to clipboard

Include UUID or PDF download URL in response body

Open JSDA123 opened this issue 1 year ago • 2 comments

Would it be possible to include the download URL or the unique identifier of the generated PDF in the response body so scripts can optionally download the file without needing to handle the raw data?

JSDA123 avatar Aug 15 '24 17:08 JSDA123

Thanks for your suggestion. Yes this was theoretically possible. Do you want to contribute with a pull request? A second service to provide a download url after it proxies the request would be also an option.

lucas-gaitzsch avatar Aug 26 '24 20:08 lucas-gaitzsch

Unfortunately I'm not a developer so am unable to contribute in that way. I'm struggling with integrating pdf-turtle with an api that doesn't support handing the raw data. I noticed another (inactive) project pdf2api keeps a copy of the generated pdf for 24 hours and returns a download url in the response body. Something like that would be a great addition and solve my issue. I'd be happy to help test if that is of any help.

JSDA123 avatar Sep 04 '24 19:09 JSDA123