top of page
PDF Generation (Chromium)
Since it's hard to get a binary string out of a Make.com app, you have to call the background service directly with an http request and then run the headless browser chromium to generate a pdf from some HTML code.
​
Here i have written an example how you can generate invoice with it:
URL:
Header API Key
X-RapidAPI-Key
Header API Value
<< Insert your API KEY >>
Header Host Key
X-RapidAPI-Host
Header Host Value
customjs.p.rapidapi.com
Body
{"input":"<html> <h1>Hello World</h1> <table> <tbody> </tbody> </table> </html>", "asBase64":"true", "jscode":"return await pdfGeneration(input)"}

bottom of page