26 lines
471 B
YAML
26 lines
471 B
YAML
|
id: api-strava
|
||
|
|
||
|
info:
|
||
|
name: Strava API Test
|
||
|
author: dwisiswant0
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://developers.strava.com/docs/getting-started/
|
||
|
tags: token-spray,strava
|
||
|
|
||
|
self-contained: true
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "https://www.strava.com/api/v3/athlete"
|
||
|
headers:
|
||
|
Authorization: Bearer {{token}}
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"id"'
|
||
|
- '"username"'
|
||
|
condition: and
|