This microservice will convert HTML to PDF. The conversion will be done with wkhtmltopdf
- docker
$ make
$ curl -X POST http://localhost:8080 -H 'Content-Type: application/json' -d '{"content":"<h1>Test</h1><p>Hello world</p>","options":{ "pageSize": "letter" }}'
- content is the HTML which should be converted
- options are optional parameters
This is public domain.