PDF using gotenberg - docker
-
install gotenberg
docker run -d --rm -p 5000:5000 gotenberg/gotenberg:8 gotenberg --api-port=5000 --api-timeout=10s --libreoffice-disable-routes --log-level=debug
docker ps docker ls
request
curl --request POST http://localhost:5000/forms/chromium/convert/url --form url=https://sparksuite.github.io/simple-html-invoice-template/ -o my.pdf