29 lines
690 B
YAML
29 lines
690 B
YAML
|
id: api-craftmypdf
|
||
|
|
||
|
info:
|
||
|
name: CraftMyPDF API Test
|
||
|
author: daffainfo
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://pdflayer.com/documentation
|
||
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Documents%20%26%20Productivity/CraftMyPDF.md
|
||
|
tags: token-spray,craftmypdf
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
GET https://api.craftmypdf.com/v1/list-templates?limit=300&offset=0 HTTP/1.1
|
||
|
Host: api.craftmypdf.com
|
||
|
Content-Type: application/json
|
||
|
X-API-KEY: {{token}}
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"template_id":'
|
||
|
- '"name":'
|
||
|
- '"group_name":'
|
||
|
condition: and
|