2021-10-28 16:38:36 +00:00
|
|
|
id: api-thecatapi
|
2021-10-28 13:17:37 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: TheCatApi API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Pictures of cats from Tumblr
|
2021-11-06 04:27:25 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.thecatapi.com/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/thecatapi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,thecatapi
|
2021-10-28 15:24:27 +00:00
|
|
|
|
2021-10-28 16:38:36 +00:00
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-28 16:38:36 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.thecatapi.com/v1/votes"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-28 16:38:36 +00:00
|
|
|
headers:
|
|
|
|
x-api-key: "{{token}}"
|
2021-10-28 13:17:37 +00:00
|
|
|
matchers:
|
2021-11-01 12:22:18 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"country_code":'
|
|
|
|
- '"created_at":'
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100e6d911ecb61631f9a18c965d18dfc50dc2c659696e07e35a066bea1998874a88022100a26e89623b58680d7e1e34cbc3b0d86c5e4a454222c75003848955186cfa288b:922c64590222798bb761d5b6d8e72950
|