Skip to content

kurzdigital/html-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •