From ba0f7fb66957bcf4a909e67f7dc8752232ed1f7c Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Mon, 6 Dec 2021 21:45:40 +0700 Subject: [PATCH 1/2] Create api-abstractpublicholidays.yaml --- token-spray/api-abstractpublicholidays.yaml | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 token-spray/api-abstractpublicholidays.yaml diff --git a/token-spray/api-abstractpublicholidays.yaml b/token-spray/api-abstractpublicholidays.yaml new file mode 100644 index 0000000000..ff230d345e --- /dev/null +++ b/token-spray/api-abstractpublicholidays.yaml @@ -0,0 +1,25 @@ +id: api-abstractpublicholidays + +info: + name: Abstract Public Holidays API 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,abstractpublicholidays + +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 From d3ef70b99bbcde7b8fb247740e51d18a4a77d88f Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Mon, 6 Dec 2021 20:30:54 +0530 Subject: [PATCH 2/2] Update and rename api-abstractpublicholidays.yaml to api-abstractapi.yaml --- ...api-abstractpublicholidays.yaml => api-abstractapi.yaml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename token-spray/{api-abstractpublicholidays.yaml => api-abstractapi.yaml} (82%) diff --git a/token-spray/api-abstractpublicholidays.yaml b/token-spray/api-abstractapi.yaml similarity index 82% rename from token-spray/api-abstractpublicholidays.yaml rename to token-spray/api-abstractapi.yaml index ff230d345e..b6eecac2ef 100644 --- a/token-spray/api-abstractpublicholidays.yaml +++ b/token-spray/api-abstractapi.yaml @@ -1,13 +1,13 @@ -id: api-abstractpublicholidays +id: api-abstractapi info: - name: Abstract Public Holidays API Test + 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,abstractpublicholidays + tags: token-spray,abstractapi self-contained: true requests: