25 lines
593 B
YAML
25 lines
593 B
YAML
id: api-bingmaps
|
|
|
|
info:
|
|
name: Bing Maps API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/find-a-location-by-address
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,bing,maps,bingmaps
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://dev.virtualearth.net/REST/v1/Locations?CountryRegion=US&adminDistrict=WA&locality=Somewhere&postalCode=98001&addressLine=100%20Main%20St.&key={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'ValidCredentials'
|