import requests
import json
url='https://oapi.dingtalk.com/robot/send?access_token=替换成你自己的toten'
program={
"msgtype": "text",
"text": {"content": "123!"},
}
headers={'Content-Type': 'application/json'}
f=requests.post(url,data=json.dumps(program),headers=headers)

官方文档:

https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.EUIOU6&treeId=257&articleId=105735&docType=1

创建机器人:

https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.Cl8b5a&treeId=257&articleId=105733&docType=1

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2021-09-01
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案