Merge pull request #3168 from daffainfo/patch-253

Create api-harvardart.yaml
patch-1
Prince Chaddha 2021-11-20 09:43:47 +05:30 committed by GitHub
commit cb2c04547d
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-harvardart
info:
name: Harvard Art Museums API Test
author: daffainfo
severity: info
reference:
- https://github.com/harvardartmuseums/api-docs
- https://github.com/daffainfo/all-about-apikey/blob/main/Art-Design/Harvard%20Art%20Museums.md
tags: token-spray,harvardart
self-contained: true
requests:
- method: GET
path:
- "https://api.harvardartmuseums.org/color/34838442?apikey={{token}}"
matchers:
- type: word
part: body
words:
- '"colorid"'
- '"name"'
- '"hex"'
condition: and