Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 616 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 616 Bytes

Serverless PDF Watermark 📝📄

A simple serverless function to set a watermark to an existing pdf and return the updated pdf.

⚠️ Test and use as required ⚠️

Usage

POST /watermark

Body

{
    "x": 10,
    "y": 10,
    "watermark": "Downloaded by name here... Watermark text",
    "font": "Courier",
    "pdf": "JVBERi0xLjQKJcOkw7zD"
}

Supported Fonts

  • Courier
  • Helvetica
  • Times

Response

{
  "status": true,
  "pdf": "BASE64_STRING"
}

Sample Preview