27 lines
788 B
YAML
27 lines
788 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'
|
|
|
|
# digest: 4a0a00473045022043b7ca75cd37d606223d0fa8f0b04d4054023d4cc837e2492133aad2d6ce4025022100ad95cae21efb94b1d64529210235b0100b5eb8c93863b9ebe254a196f1820360:922c64590222798bb761d5b6d8e72950
|