Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include UUID or PDF download URL in response body #12

Open
JSDA123 opened this issue Aug 15, 2024 · 2 comments
Open

Include UUID or PDF download URL in response body #12

JSDA123 opened this issue Aug 15, 2024 · 2 comments

Comments

@JSDA123
Copy link

JSDA123 commented Aug 15, 2024

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?

@lucas-gaitzsch
Copy link
Owner

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.

@JSDA123
Copy link
Author

JSDA123 commented Sep 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants