Skip to content

Commit fc1f57e

Browse files
author
Andrey Safonov
authored
Update README.md
1 parent 63654ca commit fc1f57e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,28 @@ Creates a blank PDF with a single page.
6363
##### HTTP Request
6464
`GET http://localhost:9000/generate/:filename`
6565

66+
### Replace Content in PDF
67+
68+
Creates a blank PDF with a single page.
69+
70+
##### HTTP Request
71+
`GET http://localhost:9000/replaceContent/:name`
72+
73+
##### Example
74+
Replaces placeholder strings in the template PDF letter with provided name and returns a ready to be sent file. The `_` replaced with spaces.
75+
`http://localhost:9000/replaceContent/John_Smith`
76+
77+
### Watermark PDF
78+
79+
Watermarks a PDF document with the provided watermark.
80+
81+
##### HTTP Request
82+
`GET http://localhost:9000/watermark/:filename-:watermark`
83+
84+
##### Example
85+
Places a watermark on every page in red.
86+
`http://localhost:9000/watermark/webviewer.pdf-awesome`
87+
6688

6789

6890

0 commit comments

Comments
 (0)