nuclei-templates/http/token-spray/api-abstract-public-holiday...

30 lines
735 B
YAML

id: api-abstract-public-holidays
info:
name: Abstract Api Public Holidays Test
author: daffainfo
severity: info
description: Data on national, regional, and religious holidays via API
reference:
- https://www.abstractapi.com/api/holidays-api
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-public-holidays
metadata:
max-request: 1
tags: token-spray,abstractapi
self-contained: true
http:
- method: GET
path:
- "https://holidays.abstractapi.com/v1/?api_key={{token}}&country=GB&year=2021&month=1&day=25"
matchers:
- type: word
part: body
words:
- '"name_local":'
- '"location":'
- '"date_year":'
condition: and