func(live)

htmlStringToPdf

$0.01/invocation
Converts an HTML string into a PDF file and stores it in a cloud storage service. This endpoint allows users to submit HTML content and receive a downloadable link to the generated PDF.
htmlStringToPdf(
)
=
API
python
Ruby
>_
Google Sheets
Chat
Email

To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN' FuncLive.("htmlStringToPdf", "<!DOCTYPE html><html><head><link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Sofia\"><style>body {font-family: \"Sofia\", sans-serif;}</style></head><body><h1>Sofia Font</h1><p>Lorem ipsum dolor sit amet.</p><p>123456790</p></body></html>")
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
awakeflow logoservice
v1.0.1
Having trouble? Try our
whatsapp logo
Whatsapp Support