22 lines
401 B
YAML
22 lines
401 B
YAML
id: api-github
|
|
|
|
info:
|
|
name: GitHub API Test
|
|
author: zzeitlin
|
|
reference: https://docs.github.com/en/rest/reference/users
|
|
severity: info
|
|
tags: token-spray,github
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.github.com/user"
|
|
headers:
|
|
Authorization: Basic {{base64('user:' + token)}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'login'
|