2021-11-06 04:27:25 +00:00
|
|
|
id: api-thedogapi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: TheDogApi API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Pictures of dogs from Tumblr
|
2021-11-06 04:27:25 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.thedogapi.com/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/thedogapi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,thedogapi
|
2021-11-06 04:27:25 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-06 04:27:25 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.thedogapi.com/v1/votes"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-11-06 04:27:25 +00:00
|
|
|
headers:
|
|
|
|
x-api-key: "{{token}}"
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'id":'
|
|
|
|
- 'image_id":'
|
|
|
|
- 'sub_id":'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100b33b52516ed6506113b6f57a4b41ab63a4001aa20d3a7ecd2a5e0696a0d0331602200ba8e2bfe5defadb48cf8a9e8ef76d00fc040fd37788f3e64dfb6d86e136a43c:922c64590222798bb761d5b6d8e72950
|