Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 564 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 564 Bytes

HTML TO PDF Converter Microservice

This microservice will convert HTML to PDF. The conversion will be done with wkhtmltopdf

Prerequisites

  1. docker

Getting Started

$ make

Example Request

$ 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

License

This is public domain.