Create api-block.yaml

patch-1
Muhammad Daffa 2021-12-22 19:42:15 +07:00 committed by GitHub
parent 015f19a596
commit 5a3213e9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
id: api-block
info:
name: block.io API Test
author: daffainfo
severity: info
reference: https://block.io/docs/basic
tags: token-spray,block
self-contained: true
requests:
- method: GET
path:
- "https://block.io/api/v2/get_balance/?api_key={{token}}"
matchers:
- type: word
part: body
words:
- '"network"'
- '"available_balance"'
- '"pending_received_balance"'
condition: and