28 lines
741 B
YAML
28 lines
741 B
YAML
id: api-accuweather
|
|
|
|
info:
|
|
name: AccuWeather API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://developer.accuweather.com/apis
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,accuweather
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "http://api.accuweather.com/locations/v1/search?language=en-US&apikey={{token}}&q=Athens,%20Greece"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"Version"'
|
|
- '"LocalizedName"'
|
|
- '"DataSets"'
|
|
condition: and
|
|
# digest: 4b0a00483046022100d00f2152465c3858fe0b7b03fc3e88fbac6b919525f6c0b1c028a09a0ded9c48022100a0781fe50668fe64cea809f8616d799bd7d6b219e9e1bc4dbb2522f5e33b40df:922c64590222798bb761d5b6d8e72950 |