Merge pull request #3279 from daffainfo/patch-271

Create api-holidayapi.yaml
patch-1
Prince Chaddha 2021-12-06 20:35:58 +05:30 committed by GitHub
commit e6cbcc6383
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-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