27 lines
472 B
YAML
27 lines
472 B
YAML
id: api-ipstack
|
|
|
|
info:
|
|
name: IPStack API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://ipstack.com/documentation
|
|
tags: token-spray,ipstack
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.ipstack.com/8.8.8.8?access_key={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"ip":'
|
|
- '"hostname":'
|
|
- '"type":'
|
|
condition: and
|