Project

General

Profile

Feature #1512 » 18pis.txt

pis控制发包 - jingke lu, 07/14/2021 04:26 PM

 
1

    
2
[2021-07-13 09:58:39.392]# RECV ASCII FROM 127.0.0.1 :51497>
3
POST /api/pis/post_text HTTP/1.1
4
Host: 127.0.0.1:8086
5
Content-Length: 54
6
Content-Type:application/json
7
AccessTokenThird:
8

    
9
{"message":"鐏伨鐤忔暎","times":1,"zone_ids":[2,3]}
10

    
11
[2021-07-13 10:00:19.011]# RECV ASCII FROM 127.0.0.1 :51556>
12
DELETE /api/pis/cancel_text HTTP/1.1
13
Host: 127.0.0.1:8086
14
Content-Length: 19
15
Content-Type:application/json
16
AccessTokenThird:
17

    
18
{"zone_ids":[2,3]}
19

    
20

    
21
[2021-07-13 09:59:12.322]# RECV ASCII FROM 127.0.0.1 :51515>
22
POST /api/pis/post_notice HTTP/1.1
23
Host: 127.0.0.1:8086
24
Content-Length: 44
25
Content-Type:application/json
26
AccessTokenThird:
27

    
28
{"message":"鐏伨鐤忔暎","zone_ids":[2,3]}
29

    
30
[2021-07-13 10:00:33.104]# RECV ASCII FROM 127.0.0.1 :51575>
31
DELETE /api/pis/cancel_notice HTTP/1.1
32
Host: 127.0.0.1:8086
33
Content-Length: 19
34
Content-Type:application/json
35
AccessTokenThird:
36

    
37
{"zone_ids":[2,3]}
38

    
39
[2021-07-13 10:04:59.419]# RECV ASCII FROM 127.0.0.1 :51787>
40
POST /api/pis/switch_screens HTTP/1.1
41
Host: 127.0.0.1:8086
42
Content-Length: 35
43
Content-Type:application/json
44
AccessTokenThird:
45

    
46
{"cmd_type":true,"zone_ids":[2,3]}
47

    
48

    
49
[2021-07-13 10:05:16.585]# RECV ASCII FROM 127.0.0.1 :51796>
50
POST /api/pis/switch_screens HTTP/1.1
51
Host: 127.0.0.1:8086
52
Content-Length: 36
53
Content-Type:application/json
54
AccessTokenThird:
55

    
56
{"cmd_type":false,"zone_ids":[2,3]}
57

    
58
[2021-07-13 10:04:44.284]# RECV ASCII FROM 127.0.0.1 :51774>
59
PUT /api/pis/adjust_volume HTTP/1.1
60
Host: 127.0.0.1:8086
61
Content-Length: 46
62
Content-Type:application/json
63
AccessTokenThird:
64

    
65
{"cmd_type":"adjust","volume":77,"zone_id":3}
66

    
67

    
68

    
69
[2021-07-13 09:59:27.492]# RECV ASCII FROM 127.0.0.1 :51524>
70
POST /api/tunnel_led/insert_text HTTP/1.1
71
Host: 127.0.0.1:8086
72
Content-Length: 39
73
Content-Type:application/json
74
AccessTokenThird:
75

    
76
{"ids":[2,3],"message":"鐏伨鐤忔暎"}
77

    
78
[2021-07-13 10:00:04.050]# RECV ASCII FROM 127.0.0.1 :51547>
79
POST /api/tunnel_led/cancel HTTP/1.1
80
Host: 127.0.0.1:8086
81
Content-Length: 14
82
Content-Type:application/json
83
AccessTokenThird:
84

    
85
{"ids":[2,3]}
86

    
87

    
88
[2021-07-13 09:59:42.652]# RECV ASCII FROM 127.0.0.1 :51534>
89
POST /api/tunnel_led/post_text HTTP/1.1
90
Host: 127.0.0.1:8086
91
Content-Length: 39
92
Content-Type:application/json
93
AccessTokenThird:
94

    
95
{"ids":[2,3],"message":"鐏伨鐤忔暎"}
96

    
97

    
98
[2021-07-13 10:00:48.261]# RECV ASCII FROM 127.0.0.1 :51593>
99
POST /api/tunnel_led/cancel HTTP/1.1
100
Host: 127.0.0.1:8086
101
Content-Length: 14
102
Content-Type:application/json
103
AccessTokenThird:
104

    
105
{"ids":[2,3]}
106

    
107
//////////////////////////////////////////////////////////
108
[2021-07-13 10:02:41.008]# RECV ASCII FROM 127.0.0.1 :51669>
109
POST /api/tunnel_led/switch_mode HTTP/1.1
110
Host: 127.0.0.1:8086
111
Content-Length: 31
112
Content-Type:application/json
113
AccessTokenThird:
114

    
115
{"ids":[2,3],"mode":"morning"}
116

    
117
[2021-07-13 10:01:03.396]# RECV ASCII FROM 127.0.0.1 :51611>
118
POST /api/tunnel_led/cancel HTTP/1.1
119
Host: 127.0.0.1:8086
120
Content-Length: 14
121
Content-Type:application/json
122
AccessTokenThird:
123

    
124
{"ids":[2,3]}
125

    
126
[2021-07-13 10:02:55.169]# RECV ASCII FROM 127.0.0.1 :51679>
127
POST /api/tunnel_led/switch_mode HTTP/1.1
128
Host: 127.0.0.1:8086
129
Content-Length: 30
130
Content-Type:application/json
131
AccessTokenThird:
132

    
133
{"ids":[2,3],"mode":"normal"}
134

    
135
[2021-07-13 10:03:10.296]# RECV ASCII FROM 127.0.0.1 :51688>
136
POST /api/tunnel_led/cancel HTTP/1.1
137
Host: 127.0.0.1:8086
138
Content-Length: 14
139
Content-Type:application/json
140
AccessTokenThird:
141

    
142
{"ids":[2,3]}
143

    
144
[2021-07-13 10:03:26.412]# RECV ASCII FROM 127.0.0.1 :51697>
145
POST /api/tunnel_led/switch_mode HTTP/1.1
146
Host: 127.0.0.1:8086
147
Content-Length: 36
148
Content-Type:application/json
149
AccessTokenThird:
150

    
151
{"ids":[2,3],"mode":"morning_peak"}
152

    
153

    
154
[2021-07-13 10:03:41.541]# RECV ASCII FROM 127.0.0.1 :51707>
155
POST /api/tunnel_led/switch_mode HTTP/1.1
156
Host: 127.0.0.1:8086
157
Content-Length: 36
158
Content-Type:application/json
159
AccessTokenThird:
160

    
161
{"ids":[2,3],"mode":"evening_peak"}
162

    
163
[2021-07-13 10:03:56.636]# RECV ASCII FROM 127.0.0.1 :51717>
164
POST /api/tunnel_led/switch_mode HTTP/1.1
165
Host: 127.0.0.1:8086
166
Content-Length: 29
167
Content-Type:application/json
168
AccessTokenThird:
169

    
170
{"ids":[2,3],"mode":"other"}
171

    
172

    
173
[2021-07-13 10:04:11.877]# RECV ASCII FROM 127.0.0.1 :51733>
174
POST /api/tunnel_led/switch_mode HTTP/1.1
175
Host: 127.0.0.1:8086
176
Content-Length: 29
177
Content-Type:application/json
178
AccessTokenThird:
179

    
180
{"ids":[2,3],"mode":"flow1"}
181

    
182
[2021-07-13 10:01:03.396]# RECV ASCII FROM 127.0.0.1 :51611>
183
POST /api/tunnel_led/cancel HTTP/1.1
184
Host: 127.0.0.1:8086
185
Content-Length: 14
186
Content-Type:application/json
187
AccessTokenThird:
188

    
189
{"ids":[2,3]}
190

    
191

    
192
////////////////////////////////////////////////////////////
193
[2021-07-13 10:06:13.024]# RECV ASCII FROM 127.0.0.1 :51835>
194
POST /api/tunnel_led/adjust_bright HTTP/1.1
195
Host: 127.0.0.1:8086
196
Content-Length: 32
197
Content-Type:application/json
198
AccessTokenThird:
199

    
200
{"brightness":66,"ids":[1,2,3]}
201

    
202

    
203
[2021-07-13 10:06:28.167]# RECV ASCII FROM 127.0.0.1 :51848>
204
POST /api/papis/self_check HTTP/1.1
205
Host: 127.0.0.1:8086
206
Content-Length: 0
207
Content-Type:application/json
208
AccessTokenThird:
209

    
210

    
(2-2/5)