Skip to content

Golang Gin with PDFTK as REST (HTTP) web-service with docker

License

Notifications You must be signed in to change notification settings

KatSick/pdftk-as-a-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Golang Gin with PDFTK as REST (HTTP) web-service with docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published