Remove http

This commit is contained in:
Changhua
2023-05-29 11:25:44 +08:00
parent 96549e310c
commit c736a8c15f
3 changed files with 0 additions and 98 deletions
-7
View File
@@ -40,13 +40,6 @@ def main():
# 机器人启动发送测试消息
robot.sendTextMsg("机器人启动成功!", "filehelper")
# 暴露 HTTP 接口供发送消息,需要在配置文件中取消 http 注释
# 接口文档:http://localhost:9999/docs
# 访问示例:
# 1. 浏览器访问:http://localhost:9999/send?msg=hello%20world&receiver=filehelper
# 2. curl -X 'GET' 'http://localhost:9999/send?msg=hello%20world&receiver=filehelper' -H 'accept: application/json'
robot.enableHTTP()
# 接收消息
robot.enableRecvMsg()