2022-07-22 11:32:46 +00:00
|
|
|
id: api-pdflayer
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: pdflayer 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://pdflayer.com/documentation
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/pdflayer
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,pdflayer
|
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-24 07:23:14 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET https://api.pdflayer.com/api/convert?access_key={{token}}&document_url=https://test.test HTTP/1.1
|
|
|
|
Host: api.pdflayer.com
|
2022-07-22 11:32:46 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"document_url_not_found"'
|
|
|
|
- '"The document URL you specified was not found.'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022041b3237526765cd6d77fe6ef1155a25ac46dafb4dc0ab47fb6c9ef12072776150220518950d7ce32576b7411e66b71101696a595efae08e6f287beeeb877a3ee892c:922c64590222798bb761d5b6d8e72950
|