Create api-hirak-exchange-rates.yaml

patch-1
Muhammad Daffa 2022-04-19 14:20:50 +07:00 committed by GitHub
parent 545f430da4
commit a296daa65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: api-hirak-exchange-rates
info:
name: Hirak Exchange Rates API Test
author: daffainfo
severity: info
reference:
- https://rates.hirak.site/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Hirak%20Exchange%20Rates.md
tags: token-spray,hirakexchangerates
self-contained: true
requests:
- method: GET
path:
- "https://rates.hirak.site/stat/?token={{token}}"
matchers:
- type: word
part: body
words:
- '"token":'
- '"plan":'
- '"hits":'
- '"remain":'
condition: and