Create api-instatus.yaml

patch-1
Muhammad Daffa 2021-11-28 17:22:28 +07:00 committed by GitHub
parent c5cb4dd2e8
commit d9466deeba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: api-instatus
info:
name: Instatus API Test
author: daffainfo
severity: info
reference:
- https://instatus.com/help/api
- https://github.com/daffainfo/all-about-apikey/blob/main/Business/Instatus.md
tags: token-spray,instatus
self-contained: true
requests:
- method: GET
path:
- "https://api.instatus.com/v1/pages"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"id":'
- '"subdomain":'
- '"name":'
- '"logoUrl":'
condition: and