Create api-block.yaml
parent
015f19a596
commit
5a3213e9f2
|
@ -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
|
Loading…
Reference in New Issue