直接用命令行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
}
}'