id: api-googlegeocode

info:
  name: Google Geocode API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,geocode

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/geocode/json?latlng=40,30&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - 'error_message'
        negative: true
# digest: 4a0a00473045022100b60a04ee3a075b39b22fc14ab838881f98ee9a0f7c11d5853880c2277919d65f0220358448e577e302af6b710393e022fc947a6d0d0731d9a6151cb416edcb2b55e8:922c64590222798bb761d5b6d8e72950