28 lines
631 B
YAML
28 lines
631 B
YAML
|
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
|
||
|
tags: token-spray,prexview
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- 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
|