Send a POST request with html with params

https://serverless-pdf.yourname.now.sh/upload?name=hello&type=A4

The body might look something like this:

              { html: "<span style="background: yellow;">span tag with style attribute</span>" } 
The return values will be a url
              { url: https://s3.us-west-2.amazonaws.com/pdf-bucket/pdfs/hello.pdf } 

And it'll look something like this:


You can have a more complex PDF with images and styles like this! 🔥

if you want the original html for this invoice, check it out here