Spin up a simple Express.js HTTP endpoint to fill out PDF forms through JSON request body.
83
Docker image to spin up a simple Express.js HTTP endpoint to fill out PDF forms through JSON request body.
docker run -it -v $(pwd)/template:/template -e ENDPOINT="/fill-pdf" -p 8000:5000 express-pdftk
-v /path-to-file/:/template (Required) /path-to-file/ Must contain a pdf
file named template.pdf-e ENDPOINT (Optional) Name of the api route - defaults to api/pdftkPOST http://localhost:5000/api/pdftk{
"fileName": "my-file", // defaults to "output"
"fields": {
"Name": "John Doe",
"Checked": "Yes"
}
}
PDF Document
Content type
Image
Digest
Size
47.7 MB
Last updated
over 4 years ago
docker pull lmlorca/express-pdftk:first