27 lines
655 B
YAML
27 lines
655 B
YAML
id: api-pdflayer
|
|
|
|
info:
|
|
name: pdflayer API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: HTML/URL to PDF
|
|
reference:
|
|
- https://pdflayer.com/documentation
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/pdflayer
|
|
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
|