Closed amitleuva1987 closed 5 years ago
This would require a modification to the code. I think a good implementation would be to add a download=true
query parameter which would then cause the server to respond with correct download headers.
I would accept a PR for this.
Actually this is possible with attachmentName parameter already: https://github.com/alvarcarto/url-to-pdf-api/pull/46. It has gone in without documentation, I'll fix that.
I want to save the rendered pdf using php or html code like below.
Download pdf
when i click on Download PDF, a pdf should get downloaded.