30 lines
710 B
YAML
30 lines
710 B
YAML
id: api-mapbox
|
|
|
|
info:
|
|
name: Mapbox API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://docs.mapbox.com/api/search/geocoding/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,mapbox
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.mapbox.com/geocoding/v5/mapbox.places/Los%20Angeles.json?access_token={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'type'
|
|
- 'query'
|
|
- 'features'
|
|
condition: and
|
|
|
|
# digest: 4a0a004730450220768d1ff5878050798d8823910a7a94b878f6dea320f1ddbed4d39300607ddc8b022100924963d6e43ad9e9ea39b44ecede601bf33126849ebd4e4c63b46f6479614d08:922c64590222798bb761d5b6d8e72950
|