id: api-prexview

info:
  name: PrexView API Test
  author: daffainfo
  severity: info
  description: Data from XML or JSON to PDF, HTML or Image
  reference:
    - https://prexview.com/docs/
    - https://github.com/daffainfo/all-about-apikey/tree/main/prexview
  metadata:
    max-request: 1
  tags: token-spray,prexview

self-contained: true

http:
  - raw:
      - |
        POST https://api.prexview.com/v1/transform HTTP/1.1
        Host: api.prexview.com
        Authorization: {{token}}

    matchers:
      - type: word
        part: body
        words:
          - '"output is a required argument"'
          - '"status":400'
        condition: and

# digest: 4b0a00483046022100bc565ad6d829c472e911c51e70fad26057dbc794dabf992a127d9f992c8b767f022100a21795f9f28f7f967d5abad13d87a437777d96b5851ceea6cf9a2c875c1eb4e8:922c64590222798bb761d5b6d8e72950
