id: api-googleelevation

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

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034&key={{token}}"

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