2021-12-06 15:00:54 +00:00
|
|
|
id: api-abstractapi
|
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
|
|
|
|
reference:
|
|
|
|
- https://www.abstractapi.com/holidays-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Calendar/Abstract%20Public%20Holidays.md
|
2021-12-06 15:00:54 +00:00
|
|
|
tags: token-spray,abstractapi
|
2021-12-06 14:45:40 +00:00
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- 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
|