34 lines
808 B
YAML
34 lines
808 B
YAML
id: api-thedogapi
|
|
|
|
info:
|
|
name: TheDogApi API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Pictures of dogs from Tumblr
|
|
reference:
|
|
- https://docs.thedogapi.com/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/thedogapi
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,thedogapi
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.thedogapi.com/v1/votes"
|
|
|
|
headers:
|
|
x-api-key: "{{token}}"
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'id":'
|
|
- 'image_id":'
|
|
- 'sub_id":'
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022100b33b52516ed6506113b6f57a4b41ab63a4001aa20d3a7ecd2a5e0696a0d0331602200ba8e2bfe5defadb48cf8a9e8ef76d00fc040fd37788f3e64dfb6d86e136a43c:922c64590222798bb761d5b6d8e72950
|