2022-07-22 11:32:46 +00:00
|
|
|
id: api-html2pdf
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Html2PDF API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: HTML/URL to PDF
|
2022-07-22 11:32:46 +00:00
|
|
|
reference:
|
|
|
|
- https://html2pdf.app/documentation/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/html2pdf
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,html2pdf
|
2022-07-22 11:32:46 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-22 11:32:46 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.html2pdf.app/v1/generate?url=https://test.test&apiKey={{token}}"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"Provided url is not accessible"'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100e664a2495d01c2b28fbfbb18ec076eadfabcd6794738c1aee20f055611adaf4402207e7a6222c3d4b19c780a81dfc5245377a5d4dfa5eaecd8f5a5e92b99b86d52b6:922c64590222798bb761d5b6d8e72950
|