25 lines
472 B
YAML
25 lines
472 B
YAML
id: api-googlegeolocation
|
|
|
|
info:
|
|
name: Google Geolocation API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
tags: token-spray,google,geolocation
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://www.googleapis.com/geolocation/v1/geolocate?key={{token}}"
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'error'
|
|
negative: true
|
|
- type: status
|
|
status:
|
|
- 404
|
|
negative: true
|