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: 4a0a00473045022100cd8ace2e9692b411f42f6b55b052f2f980774ae42a6651686c445c21903e6a2d02206cbe38a080661a60a9e442f61a53f01520222a587b64d9ae285b23265808a10e:922c64590222798bb761d5b6d8e72950