2022-06-18 03:54:41 +00:00
|
|
|
id: api-exchangerateapi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ExchangeRate-API API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Free currency conversion
|
2022-06-18 03:54:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exchangerate-api.com/docs/overview
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/exchangerate-api
|
2022-06-18 03:54:41 +00:00
|
|
|
tags: token-spray,exchangerateapi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2022-06-18 03:54:41 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-18 03:54:41 +00:00
|
|
|
- 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
|