Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf #5

Open
oscarotero opened this issue Jan 19, 2017 · 0 comments
Open

Pdf #5

oscarotero opened this issue Jan 19, 2017 · 0 comments

Comments

@oscarotero
Copy link
Member

A middleware to convert a html response to pdf. We can use something like this: https://github.com/KnpLabs/snappy
The workflow could be something like this:

  • A pdf request is received
  • The middleware converts to html request (optionally)
  • The middleware receives the html response
  • If the response is OK (200), converts to pdf and change the Content-Type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant