1、進(jìn)入飛書,新建一個群組,添加機(jī)器人
2、點擊該機(jī)器人,復(fù)制webhook地址
3、打開postman,在url中輸入該webhook地址,輸入需要請求的json內(nèi)容,點擊發(fā)送
內(nèi)容例如:文章來源:http://www.zghlxwxcb.cn/news/detail-541864.html
{
"msg_type": "post",
"content": {
"post": {
"zh_cn": {
"title": "項目更新通知",
"content": [
[{
"tag": "text",
"text": "項目有更新: "
},
{
"tag": "a",
"text": "{{addr}}",
"href": "http://www.example.com/"
},
{
"tag": "at",
"user_id": "{{id}}"
}
]
]
}
}
}
}
4、飛書就會收到對應(yīng)的消息推送了
5、請求內(nèi)容的格式參見飛書機(jī)器人文檔
自定義機(jī)器人指南文章來源地址http://www.zghlxwxcb.cn/news/detail-541864.html
到了這里,關(guān)于【Postman】調(diào)用飛書機(jī)器人接口發(fā)送消息的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!