Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Send nail group message through robot in Shell

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Scene: in normal work, we often need to perform some scheduled tasks, and when the scheduled task fails, we need to alarm to the nailing group. Using the nailing robot can help us do this easily and quickly.

Easy to use

Curl 'https://oapi.dingtalk.com/robot/send?access_token=9e2549f6a0bb28767bdexxxxxxxxxxxxxxxxxx81975c981005abbd'\-H' Content-Type: application/json'\-d'{"msgtype": "text", "text": {"content": "I am who I am, a different kind of fireworks"}'

Effect picture:

Send the text content and @ the specified person

Curl 'https://oapi.dingtalk.com/robot/send?access_token=9e2549f6a0xxxxxxxxxxxxxxxxxx447981975c981005abbd'\-H' Content-Type: application/json'\-d'{"msgtype": "text", "text": {"content": "I am who I am, different fireworks"}, "at": {"atMobiles": ["176xxxx1234"], "isAtAll": false}}'

Effect picture:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report