32 lines
827 B
YAML
32 lines
827 B
YAML
id: api-currencylayer
|
|
|
|
info:
|
|
name: Currencylayer API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Exchange rates and currency conversion
|
|
reference:
|
|
- https://currencylayer.com/documentation
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/currencylayer
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,currencylayer
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "http://api.currencylayer.com/live?access_key={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"terms"'
|
|
- '"source"'
|
|
- '"quotes"'
|
|
condition: and
|
|
|
|
# digest: 4b0a00483046022100820e0350a914990da93957e4244a2652237edfd6d2941ce963a4a00a7ba601f0022100b155461a694a16024e2baf6156787055d3169371a041e455bebeb0800a7be995:922c64590222798bb761d5b6d8e72950
|