mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
Drop the depend of libuwsc
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
You first need to send a command to the server through POST, the message format is as follows.
|
||||
|
||||
{"devid": "test", "username": "test", "password": "test", "cmd": "echo", "params": ["hello rtty"], "env": {"x": "12"}}
|
||||
{"devid": "test", "username": "test", "password": "test", "cmd": "echo", "params": ["hello rtty"]}
|
||||
|
||||
The devid, username, cmd in the message must be provided. Password, params, and env are optional. Params is a JSON array and env is a JSON object.
|
||||
The devid, username, cmd in the message must be provided. Password, params are optional. Params is a JSON array.
|
||||
|
||||
Then the server returns a unique token.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user