期望HTTP POST中添加, bot监听的http端口(config.yml servers.http.port) #111
xiguasamall
started this conversation in
想法 / 建议
Replies: 1 comment 1 reply
-
这个在 HTTP header 里面本来就有 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
可以添加在请求头中, 避免更改现有的json结构
这样在功能程序中, 无需关心和维护该bot的监听端口, 用请求头携带过来的端口拼接成url
尤其在一个程序连接多个bot时, 优点特别明显, 再也不用手动建立bot和bot监听端口的映射关系了
Beta Was this translation helpful? Give feedback.
All reactions