2022-07-22 11:32:46 +00:00
|
|
|
id: api-pdflayer
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: pdflayer API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://pdflayer.com/documentation
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Documents%20%26%20Productivity/pdflayer.md
|
|
|
|
tags: token-spray,pdflayer
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
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
|