diff --git a/token-spray/api-abstractapi.yaml b/token-spray/api-abstractapi.yaml new file mode 100644 index 0000000000..b6eecac2ef --- /dev/null +++ b/token-spray/api-abstractapi.yaml @@ -0,0 +1,25 @@ +id: api-abstractapi + +info: + name: Abstract Api Public Holidays Test + 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 + tags: token-spray,abstractapi + +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: + - '"total_count":' + - '"limit":' + - '"offset":' + condition: and