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
|
2022-07-22 11:32:46 +00:00
|
|
|
tags: token-spray,html2pdf
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- 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"'
|