发消息1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18curl 'https://oapi.dingtalk.com/robot/send?access_token=xxx' \
-H 'Content-Type: application/json' \
-d '{"msgtype": "text","text": {"content":"自定义关键字: xxx"}}'
OR
fetch("https://oapi.dingtalk.com/robot/send?access_token=xxx", {
method: "POST",
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
msgtype: "text",
text: {
content: `自定义关键字: xxx`,
},
}),
});
钉钉机器人
-------------感谢您的阅读 有问题请留言(或mailto:frostbelt@sina.cn)-------------