id: api-savepage

info:
  name: SavePage API Test
  author: daffainfo
  severity: info
  description: A free, RESTful API used to screenshot any desktop, or mobile website
  reference:
    - https://docs.savepage.io
    - https://github.com/daffainfo/all-about-apikey/tree/main/savepage
  metadata:
    max-request: 1
  tags: token-spray,savepage

self-contained: true

http:
  - method: GET
    path:
      - "https://api.savepage.io/v1?key={{token}}&q=https://selfcontained.test"

    matchers:
      - type: word
        part: body
        words:
          - 'getaddrinfo ENOTFOUND selfcontained.test'
# digest: 4a0a00473045022100965a03984d1affa28b311a364207731c5243726673568aad0638c6429aa16fe102206ab02327d0f2ca7b46705e3b791a6dcdb2c7a54edd97e75d7f96444d5004ee65:922c64590222798bb761d5b6d8e72950