Create api-instatus.yaml
parent
c5cb4dd2e8
commit
d9466deeba
|
@ -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
|
Loading…
Reference in New Issue