31 lines
941 B
YAML
31 lines
941 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
|
|
|
|
# digest: 4a0a00473045022100db8ffedc82ceed3165a9935d94b47b7fd1bdfd2a219d03a563a2bf6f82856a0002202e0a9484e954b9d78c96c9ef18a194e75134384a7306354d87f767486946e7e7:922c64590222798bb761d5b6d8e72950
|