id: api-html2pdf

info:
  name: Html2PDF API Test
  author: daffainfo
  severity: info
  description: HTML/URL to PDF
  reference:
    - https://html2pdf.app/documentation/
    - https://github.com/daffainfo/all-about-apikey/tree/main/html2pdf
  metadata:
    max-request: 1
  tags: token-spray,html2pdf

self-contained: true

http:
  - method: GET
    path:
      - "https://api.html2pdf.app/v1/generate?url=https://test.test&apiKey={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"Provided url is not accessible"'
# digest: 4b0a00483046022100f66668baf9eb3a6b32fbe2cf203c9a3b93837e397d510895aad0f287562c4a29022100da16fef8cc897d85f3892d55a18e00adefb86ec0d55f5fad2df72e93890cad2c:922c64590222798bb761d5b6d8e72950