26 lines
670 B
YAML
26 lines
670 B
YAML
id: api-googleroutetotraveled
|
|
|
|
info:
|
|
name: Google Route to Traveled API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,google,route
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://roads.googleapis.com/v1/snapToRoads?path=-35.27801,149.12958|-35.28032,149.12907&interpolate=true&key={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'error'
|
|
negative: true
|
|
|
|
# digest: 4a0a0047304502207c4c0e84ee5577791a5b5c2d5246ee13b7339b3289e3e48e1b54889a37fae5d3022100be304fc0683e23b27174656cbf4ddc21952c7268174a992783186b6cec29a38d:922c64590222798bb761d5b6d8e72950
|