2021-11-10 20:49:36 +00:00
|
|
|
id: api-accuweather
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AccuWeather API Test
|
|
|
|
author: zzeitlin
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://developer.accuweather.com/apis
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,accuweather
|
2021-11-10 20:49:36 +00:00
|
|
|
|
2021-11-15 22:54:18 +00:00
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-10 20:49:36 +00:00
|
|
|
- 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"'
|
2021-11-11 05:26:56 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100d00f2152465c3858fe0b7b03fc3e88fbac6b919525f6c0b1c028a09a0ded9c48022100a0781fe50668fe64cea809f8616d799bd7d6b219e9e1bc4dbb2522f5e33b40df:922c64590222798bb761d5b6d8e72950
|