2019-07-28 10:31:56 +08:00
|
|
|
POST /?cmd=list HTTP/1.0
|
2017-06-16 17:14:44 +08:00
|
|
|
Content-Length: 25
|
|
|
|
Connection: keep-alive
|
2017-09-19 15:45:08 +08:00
|
|
|
Content-Type: text/json
|
2017-06-16 17:14:44 +08:00
|
|
|
|
|
|
|
{ cmd: 'list', data: {}}
|
|
|
|
|
|
|
|
POST /?cmd=stat HTTP/1.0
|
2017-06-27 17:11:04 +08:00
|
|
|
Content-Length: 72
|
2017-06-16 17:14:44 +08:00
|
|
|
Connection: keep-alive
|
2017-09-19 15:45:08 +08:00
|
|
|
Content-Type: text/json
|
2017-06-16 17:14:44 +08:00
|
|
|
|
2017-06-27 17:11:04 +08:00
|
|
|
{ cmd: 'stat', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
|
2017-06-16 17:14:44 +08:00
|
|
|
|
|
|
|
POST /?cmd=stop HTTP/1.0
|
2017-06-27 17:11:04 +08:00
|
|
|
Content-Length: 72
|
2017-06-16 17:14:44 +08:00
|
|
|
Connection: keep-alive
|
2017-09-19 15:45:08 +08:00
|
|
|
Content-Type: text/json
|
2017-06-16 17:14:44 +08:00
|
|
|
|
2017-06-27 17:11:04 +08:00
|
|
|
{ cmd: 'stop', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
|
2017-06-16 17:14:44 +08:00
|
|
|
|
|
|
|
POST /?cmd=start HTTP/1.0
|
2017-06-27 17:11:04 +08:00
|
|
|
Content-Length: 73
|
2017-06-16 17:14:44 +08:00
|
|
|
Connection: keep-alive
|
2017-09-19 15:45:08 +08:00
|
|
|
Content-Type: text/json
|
2017-06-16 17:14:44 +08:00
|
|
|
|
2017-06-27 17:11:04 +08:00
|
|
|
{ cmd: 'start', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
|
|
|
|
|
|
|
|
POST /?cmd=reload HTTP/1.0
|
|
|
|
Content-Length: 74
|
|
|
|
Connection: keep-alive
|
2017-09-19 15:45:08 +08:00
|
|
|
Content-Type: text/json
|
2017-06-16 17:14:44 +08:00
|
|
|
|
2017-06-27 17:11:04 +08:00
|
|
|
{ cmd: 'reload', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
|