Create api-1forge.yaml

patch-1
Muhammad Daffa 2022-06-16 15:57:17 +07:00 committed by GitHub
parent 4f394a940f
commit 90a988dc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
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