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