acl/app/master/daemon/doc/test.txt

30 lines
564 B
Plaintext
Raw Normal View History

POST /?cmd=list HTTP/1.0
Content-Length: 25
{ cmd: 'list', data: {}}
POST /?cmd=list HTTP/1.0
Content-Length: 25
Connection: keep-alive
{ cmd: 'list', data: {}}
POST /?cmd=stat HTTP/1.0
Content-Length: 49
Connection: keep-alive
{ cmd: 'stat', data: [{'name':'8084','type':4}]}
POST /?cmd=stop HTTP/1.0
Content-Length: 49
Connection: keep-alive
{ cmd: 'stop', data: [{'name':'8084','type':4}]}
POST /?cmd=start HTTP/1.0
Content-Length: 64
Connection: keep-alive
{ cmd: 'start', data: ['/opt/soft/master/conf/service/web.cf']}