Merge pull request #3277 from daffainfo/patch-269

Create api-abstractpublicholidays.yaml
patch-1
Prince Chaddha 2021-12-06 20:36:13 +05:30 committed by GitHub
commit 6ec095e7a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -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