32 lines
932 B
YAML
32 lines
932 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
|
|
|
|
# digest: 4b0a00483046022100ea5b0aa189cd62224c43a68e2eabd42550c8043792570b97abc4af209c8987ca022100b28e1f8335e5be248692138bdd9976809da4ec8f7283d5c088ad719791f1f0f6:922c64590222798bb761d5b6d8e72950
|