钉钉机器人

狂风中的少年 提交于 2019-12-06 07:45:18

直接用命令行shell命令

 

 

curl 'https://oapi.dingtalk.com/robot/send?access_token=xx' \
   -H 'Content-Type: application/json' \
   -d '消息体'

 

 

curl 'https://oapi.dingtalk.com/robot/send?access_token=5xx' \
   -H 'Content-Type: application/json' \
   -d '{
    "msgtype":"text",
    "text":{
        "content":"接口测试, html上传去哪儿@xx"
    },
    "at":{
        "atMobiles":[
            "xx"
        ],
        "isAtAll":false
    }
}'

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!