26 lines
540 B
YAML
26 lines
540 B
YAML
|
id: api-1forge
|
||
|
|
||
|
info:
|
||
|
name: 1Forge API Test
|
||
|
author: daffainfo
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://1forge.com/api
|
||
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Currency%20Exchange/1Forge.md
|
||
|
tags: token-spray,1forge
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "https://api.1forge.com/quota?api_key={{token}}"
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"quota_used":'
|
||
|
- '"quota_limit":'
|
||
|
- '"quota_remaining":'
|
||
|
condition: and
|