2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-public-holidays
|
2021-12-06 14:45:40 +00:00
|
|
|
|
|
|
|
info:
|
2021-12-06 15:00:54 +00:00
|
|
|
name: Abstract Api Public Holidays Test
|
2021-12-06 14:45:40 +00:00
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Data on national, regional, and religious holidays via API
|
2021-12-06 14:45:40 +00:00
|
|
|
reference:
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://www.abstractapi.com/api/holidays-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-public-holidays
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,abstractapi
|
2021-12-06 14:45:40 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-06 14:45:40 +00:00
|
|
|
- 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:
|
2022-02-15 09:51:38 +00:00
|
|
|
- '"name_local":'
|
|
|
|
- '"location":'
|
|
|
|
- '"date_year":'
|
2021-12-06 14:45:40 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100ea5b0aa189cd62224c43a68e2eabd42550c8043792570b97abc4af209c8987ca022100b28e1f8335e5be248692138bdd9976809da4ec8f7283d5c088ad719791f1f0f6:922c64590222798bb761d5b6d8e72950
|