-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.http
67 lines (59 loc) · 1.1 KB
/
test.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
###
POST http://192.168.1.2:8080/config
Content-Type: application/json
{
"time": {
"animation": "SCROLL",
"separator": "FADE",
"minutesColor": "default",
"hourColor": "default",
"separatorColor": "default"
},
"week": {
"startSunday": false,
"style": "DOTTED2",
"dayColor" : "#ff00ff",
"weekColor" : "cyan"
},
"widgets": {
"animation": "SCROLL",
"calendar": {
"style": "ICON",
"color": "default",
"bodyColor": "default",
"headColor": "default",
"textColor": "default",
"icon": "bluecalendar.gif"
},
"humidity": {
"icon": "smallhumidity.gif",
"color": "default"
},
"temperature": {
"fahrenheit": false,
"icon": "temperaturesmall.gif",
"color": "default"
}
},
"seconds": {
"color": "#ff00ff"
}
}
###
POST http://192.168.1.2:8080/config
Content-Type: application/json
{
"widgets": {
"calendar": {
"enabled": false
},
"humidity": {
"enabled": true
},
"temperature": {
"enabled": true
}
}
}
###
POST http://localhost:8080/save