29 lines
602 B
YAML
29 lines
602 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
|
|
tags: token-spray,thecatapi
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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 |