输入服务器(POST)
POST /servers/{:id}/input HTTP/1.1
Content-Type: application/json
[ /** ... */ ]
路径参数
参数名 | 说明 |
---|---|
id | 服务器Id |
请求参数
参数名 | 说明 |
---|---|
- | 字符串列表 |
示例
POST /servers/server1/input HTTP/1.1
Content-Type: application/json
["1111", "2222"]
返回示例
{
"code": 200,
"errorMsg": null,
"data": null,
"time": "2024-10-12T20:43:40.4236248+08:00"
}
```json
{
"code": 403,
"errorMsg": "服务器未运行",
"data": null,
"time": "2024-10-12T20:39:00.5250945+08:00"
}