29 lines
746 B
YAML
29 lines
746 B
YAML
id: api-abstract-website-screenshot
|
|
|
|
info:
|
|
name: Abstract Api Website Screenshot Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Transform any URL into an image with Abstract's Website Screenshot API
|
|
reference:
|
|
- https://www.abstractapi.com/api/website-screenshot-api
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-website-screenshot
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,abstractapi
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://screenshot.abstractapi.com/v1/?api_key={{token}}&url=https://test.test"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"code":"validation_error"'
|
|
- 'Reached error page'
|
|
condition: and
|