29 lines
503 B
YAML
29 lines
503 B
YAML
id: api-strava
|
|
|
|
info:
|
|
name: Strava API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://developers.strava.com/docs/getting-started/
|
|
metadata:
|
|
max-request: 1
|
|
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
|