此文档并非官方文档,本文档由 快辰 进行维 护更新,主要为工作室 灵工艺 开发软件测试使用,公开以方便更多有需要的朋友。
username:password
Authorization: Basic *****************
{ "waittime": 30, "message": "Server will shutdown in 10 seconds." }
curl --location --request POST '/v1/api/shutdown' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic Og==' \ --data-raw '{ "waittime": 30, "message": "Server will shutdown in 10 seconds." }'
返回 200,则服务器会被关闭。