2021-10-29 11:24:17 +00:00
|
|
|
id: api-aniapi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AniAPI API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Anime discovery, streaming & syncing with trackers
|
2021-11-06 04:40:49 +00:00
|
|
|
reference:
|
|
|
|
- https://aniapi.com/docs/authentication
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/aniapi
|
2021-10-29 11:24:17 +00:00
|
|
|
tags: token-spray,aniapi
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.aniapi.com/v1/auth/me"
|
|
|
|
headers:
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
|
|
|
matchers:
|
2021-10-29 17:18:54 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"username":'
|
|
|
|
- '"data":'
|
|
|
|
condition: and
|