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: 490a0046304402202d4f8dc9d919a94bacd5433cf3268293d90caa5d49e2633af9edf6625599433c022076e144edfc922f0e39cce1ac4fef544da1b79cb5124020fe948f545ebcff50ae:922c64590222798bb761d5b6d8e72950