33 lines
756 B
YAML
33 lines
756 B
YAML
id: api-postmark
|
|
|
|
info:
|
|
name: PostMark API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://postmarkapp.com/developer/api/overview
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,postmark
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.postmarkapp.com/server"
|
|
|
|
headers:
|
|
Accept: application/json
|
|
X-Postmark-Server-Token: "{{token}}"
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"ID":'
|
|
- '"Name":'
|
|
- '"ApiTokens":'
|
|
condition: and
|
|
|
|
# digest: 4b0a004830460221009f72230cb95ff7d337df8d19e0c572446a58a42ce5f962b301ee655a73cb3d93022100d773d742b5fea63e0a0d73c936e4343ce548f2dc8f0183b8649a4f92b64b4552:922c64590222798bb761d5b6d8e72950
|