id: api-apiflash

info:
  name: ApiFlash API Test
  author: daffainfo
  severity: info
  description: Chrome based screenshot API for developers
  reference:
    - https://apiflash.com/
    - https://github.com/daffainfo/all-about-apikey/tree/main/apiflash
  metadata:
    max-request: 1
  tags: token-spray,apiflash

self-contained: true

http:
  - method: GET
    path:
      - "https://api.apiflash.com/v1/urltoimage?access_key={{token}}&url=https://selfcontained.test"

    matchers:
      - type: word
        part: body
        words:
          - 'net::ERR_NAME_NOT_RESOLVED at https://selfcontained.test'
# digest: 490a0046304402206f847fe330ff2d849a95a13e6c839632f9f0fb38f088d96fb703f64c846e021e022035d4a8252fdccee7307f0b881513fe432d03010e0e46eb571989b94182f57d8b:922c64590222798bb761d5b6d8e72950