From 32fac1b1f1abd5d110c1893b7670870178f7e925 Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Mon, 6 Dec 2021 21:51:41 +0700 Subject: [PATCH] Create api-holidayapi.yaml --- token-spray/api-holidayapi.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 token-spray/api-holidayapi.yaml diff --git a/token-spray/api-holidayapi.yaml b/token-spray/api-holidayapi.yaml new file mode 100644 index 0000000000..f7bb602b60 --- /dev/null +++ b/token-spray/api-holidayapi.yaml @@ -0,0 +1,25 @@ +id: api-holidayapi + +info: + name: Holiday API Test + author: daffainfo + severity: info + reference: + - https://holidayapi.com/docs + - https://github.com/daffainfo/all-about-apikey/blob/main/Calendar/Holiday%20API.md + tags: token-spray,holidayapi + +self-contained: true +requests: + - 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