acl/app/master/daemon/doc/test.txt
2017-06-27 17:11:04 +08:00

30 lines
692 B
Plaintext

POST /?cmd=list HTTP/1.0
Content-Length: 25
Connection: keep-alive
{ cmd: 'list', data: {}}
POST /?cmd=stat HTTP/1.0
Content-Length: 72
Connection: keep-alive
{ cmd: 'stat', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
POST /?cmd=stop HTTP/1.0
Content-Length: 72
Connection: keep-alive
{ cmd: 'stop', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
POST /?cmd=start HTTP/1.0
Content-Length: 73
Connection: keep-alive
{ cmd: 'start', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}
POST /?cmd=reload HTTP/1.0
Content-Length: 74
Connection: keep-alive
{ cmd: 'reload', data: [{'path':'/opt/soft/master/conf/service/web.cf'}]}