26 lines
658 B
YAML
26 lines
658 B
YAML
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:
|
|
- raw:
|
|
- |
|
|
GET https://api.pdflayer.com/api/convert?access_key={{token}}&document_url=https://test.test HTTP/1.1
|
|
Host: api.pdflayer.com
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"document_url_not_found"'
|
|
- '"The document URL you specified was not found.'
|
|
condition: and
|