2021-12-06 14:51:41 +00:00
|
|
|
id: api-holidayapi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Holiday API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Historical data regarding holidays
|
2021-12-06 14:51:41 +00:00
|
|
|
reference:
|
|
|
|
- https://holidayapi.com/docs
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/holiday-api
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,holidayapi
|
2021-12-06 14:51:41 +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:51:41 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://holidayapi.com/v1/holidays?pretty&key={{token}}&country=US&year=2020&language=EN"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"holidays":'
|
|
|
|
- '"name":'
|
|
|
|
- '"date":'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100afe7be70d8da5d2d1e7aa0372f85128f5a1976400ad4495d062d972af539994502202f60465cca2f2de10af7575e3288eecbb42e2babbfa552aaaa421ebe6a713a80:922c64590222798bb761d5b6d8e72950
|