32 lines
717 B
YAML
32 lines
717 B
YAML
id: api-googlegeolocation
|
|
|
|
info:
|
|
name: Google Geolocation API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,google,geolocation
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://www.googleapis.com/geolocation/v1/geolocate?key={{token}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
negative: true
|
|
words:
|
|
- 'error'
|
|
|
|
- type: status
|
|
negative: true
|
|
status:
|
|
- 404
|
|
|
|
# digest: 4a0a0047304502201932080092f5fafe006a17b33b65a7e1e131a382cc576437a5bc549968dc2e7c022100bf30ba0109e7ac3240b2fc41b017c538d8e1905fc2d3ff790928fd6cffeb0848:922c64590222798bb761d5b6d8e72950
|