44 lines
486 B
Text
44 lines
486 B
Text
|
POST http://localhost:3000/lights
|
||
|
{
|
||
|
"on": true,
|
||
|
"brightness": 200
|
||
|
}
|
||
|
|
||
|
POST http://localhost:3000/lights
|
||
|
[Options]
|
||
|
delay: 2s
|
||
|
{
|
||
|
"on": false
|
||
|
}
|
||
|
|
||
|
POST http://localhost:3000/lights
|
||
|
[Options]
|
||
|
delay: 2s
|
||
|
{
|
||
|
"on": true
|
||
|
}
|
||
|
|
||
|
POST http://localhost:3000/lights
|
||
|
[Options]
|
||
|
delay: 2s
|
||
|
{
|
||
|
"on": true,
|
||
|
"brightness": 140
|
||
|
}
|
||
|
|
||
|
POST http://localhost:3000/lights
|
||
|
[Options]
|
||
|
delay: 2s
|
||
|
{
|
||
|
"on": true,
|
||
|
"brightness": 120
|
||
|
}
|
||
|
|
||
|
POST http://localhost:3000/lights
|
||
|
[Options]
|
||
|
delay: 2s
|
||
|
{
|
||
|
"on": true,
|
||
|
"brightness": 100
|
||
|
}
|