A simple serverless function to set a watermark to an existing pdf and return the updated pdf.
POST /watermark
Body
{
"x": 10,
"y": 10,
"watermark": "Downloaded by name here... Watermark text",
"font": "Courier",
"pdf": "JVBERi0xLjQKJcOkw7zD"
}
- Courier
- Helvetica
- Times
Response
{
"status": true,
"pdf": "BASE64_STRING"
}