您的位置 首页 企业微信

企业微信机器人的wehbook地址-测试

测试 :

curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b47af31-e289-47e5-88eb-8923e01738fd' -H 'Content-Type: application/json' -d '{"msgtype": "text","text": {"content": "hello world"}}' 

 

https://webhook.site 网站提供了测试的 Webhook 接口,每个人的 URL 都是独立的,拷贝这个 URL 复制到 http_post_url 中。

 

企业微信机器人的wehbook地址

第一步:在企业微信上创建一个内部群聊

先拉2个人进来
内部群聊:只有内部员工的群,群内不能添加客户

第二步:点开群聊,点击右上角【...】,进入群详情页面,在此页面,找到群机器人,

 

点击【添加机器人】,

然后点击新建

取名并添加成功后,即可获取机器人的webhook地址

https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b47af31-e289-47e5-88eb-8923e01738fd

测试:

往群里发消息:

curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b47af31-e289-47e5-88eb-8923e01738fd' -H 'Content-Type: application/json' -d '{"msgtype": "text","text": {"content": "hello world"}}' 

机器人配置说明:

https://developer.work.weixin.qq.com/document/path/99110

 

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章