26 lines
617 B
YAML
26 lines
617 B
YAML
|
id: api-exchangerateapi
|
||
|
|
||
|
info:
|
||
|
name: ExchangeRate-API API Test
|
||
|
author: daffainfo
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://www.exchangerate-api.com/docs/overview
|
||
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Currency%20Exchange/ExchangeRate-API.md
|
||
|
tags: token-spray,exchangerateapi
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "https://v6.exchangerate-api.com/v6/{{token}}/latest/USD"
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"time_next_update_utc"'
|
||
|
- '"base_code"'
|
||
|
- '"conversion_rates"'
|
||
|
condition: and
|