Create api-charity.yaml

patch-1
Muhammad Daffa 2021-11-25 19:16:30 +07:00 committed by GitHub
parent 1ab9e3fc72
commit 9c9cd0d5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: api-charity
info:
name: Charity Search API Test
author: daffainfo
severity: info
reference:
- http://charityapi.orghunter.com/
- https://github.com/daffainfo/all-about-apikey/blob/main/Business/Charity%20Search.md
tags: token-spray,charity
self-contained: true
requests:
- method: GET
path:
- "http://data.orghunter.com/v1/charitybasic?user_key={{token}}&ein=590774235"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"ein":'
- '"name":'
- '"inCareOfName"'
condition: and