29 lines
488 B
YAML
29 lines
488 B
YAML
id: api-adafruit-io
|
|
|
|
info:
|
|
name: Adafruit IO API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://io.adafruit.com/api/docs/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,adafruit
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://io.adafruit.com/api/v2/user"
|
|
|
|
headers:
|
|
X-AIO-Key: "{{token}}"
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"username":'
|
|
- '"id":'
|
|
condition: and
|