Replies: 1 comment 4 replies
-
Hello @cdumange , Thanks for the kind words 😄 You can actually do it on the client side, i.e., by creating an in-memory HTML content instead of reading an HTML file. See for instance https://github.com/gotenberg/gotenberg-php#convert-an-html-document-to-pdf. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
First & foremost, great project. PDF is most of the time a complicated subject & those kind of tools are life saving !
Now, quick question. A bit of context. I would like to use gotenberg to generate PDF based on html templates. WIth the existing endpoint, I have to write my html in a index.html file & send it to gotenberg using the forms/chromium/convert/html endpoint.
Is there a reason for not having a POST endpoint taking html as a body & constructing the PDF from it ?
Keep up the good work ! :)
Beta Was this translation helpful? Give feedback.
All reactions