mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
31 lines
839 B
Plaintext
31 lines
839 B
Plaintext
meta {
|
|
name: Stamp PDF
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/forms/pdfengines/stamp
|
|
body: multipartForm
|
|
auth: none
|
|
}
|
|
|
|
body:multipart-form {
|
|
files: @file(../../test/integration/testdata/page_1.pdf)
|
|
stampSource: text
|
|
stampExpression: APPROVED
|
|
~stampPages: 1-2
|
|
~stampOptions: {"font":"Helvetica","fontSize":"48","color":"#00FF00","opacity":"0.5","rotation":"0"}
|
|
~stamp: @file(../../test/integration/testdata/watermark.png)
|
|
~downloadFrom: [{"url":"https://example.com/stamp.png","field":"stamp"}]
|
|
}
|
|
|
|
headers {
|
|
~Gotenberg-Output-Filename: stamped
|
|
~Gotenberg-Webhook-Url: http://localhost:8080/webhook
|
|
~Gotenberg-Webhook-Error-Url: http://localhost:8080/webhook/error
|
|
~Gotenberg-Webhook-Method: POST
|
|
~Gotenberg-Webhook-Error-Method: POST
|
|
~Gotenberg-Webhook-Extra-Http-Headers: {"X-Custom":"value"}
|
|
}
|