29 lines
581 B
YAML
29 lines
581 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
|
|
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
|