25 lines
454 B
YAML
25 lines
454 B
YAML
id: api-aniapi
|
|
|
|
info:
|
|
name: AniAPI API Test
|
|
author: daffainfo
|
|
severity: info
|
|
reference: https://aniapi.com/docs/authentication
|
|
tags: token-spray,aniapi
|
|
|
|
self-contained: true
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.aniapi.com/v1/auth/me"
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"username":'
|
|
- '"data":'
|
|
condition: and
|