Hello! Im building a REST API using Spring/Boot, im in charge to create an endpoint to make user send quote email with PDF attachment. the pdf have to be generated based on a webpage in clientside, i dunno what to do here:
- copy the web page template in my spring boot app source files?
- make the client generates the pdf and send it as multipartfile?
- build the pdf in backend without template, with java sdk (using tool like Apache pdfbox).
Im looking for the easiest and effective way 