Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 530 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 530 Bytes

PDFTK as a service

Image

docker pull katsick/pdftkgolangservice:1.1.0

Hot to use

Invoke HTTP request to the service. Example below:

POST /fill-pdf HTTP/1.1
Content-Type: multipart/form-data;

--1
Content-Disposition: form-data; name="file"; filename="form.pdf"
Content-Type: application/pdf

<BYTES HERE>
--1

--2
Content-Disposition: form-data; name="json"
{"field1":"hello","field2":"world"}
--2

Development

docker-compose up --build

Use Postman or Paw to invoke requests agains HTTP server