Add Strava API test

patch-1
Dwi Siswanto 2021-10-25 07:03:44 +07:00
parent 5759e77e6c
commit 25a41dfc9f
1 changed files with 23 additions and 0 deletions

23
token-spray/strava.yaml Normal file
View File

@ -0,0 +1,23 @@
id: api-strava
info:
name: Strava API Test
author: dwisiswant0
reference: https://developers.strava.com/docs/getting-started/
severity: info
tags: token-spray,strava
self-contained: true
requests:
- method: GET
path:
- "https://www.strava.com/api/v3/athlete"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- "errors"
negative: true