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

Gotenberg > Generate a PDF example does not work as documented #4322

Open
chadwcarlson opened this issue Jan 7, 2025 · 0 comments
Open

Gotenberg > Generate a PDF example does not work as documented #4322

chadwcarlson opened this issue Jan 7, 2025 · 0 comments

Comments

@chadwcarlson
Copy link
Contributor

Where on docs.platform.sh should be changed?

https://docs.platform.sh/add-services/gotenberg.html#generate-a-pdf-using-gotenberg

same for Upsun

What exactly should be updated?

As documented above, the example will not work, and should otherwise document the user's own service.

It will work if within an SSH session:

[upsun | platform] ssh
curl --request POST http://gotenberg.internal:3000/forms/chromium/convert/url --form url=https://platform.sh/ --form landscape=true --form marginTop=1 --form marginBottom=1 -o /tmp/my.pdf

Where the output location also needs to be writable.

Additional context

No response

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

1 participant