Microsoft Teams 채널에 Webhook 앱을 추가해서 URL 을 확인한다.
Webhook Test
Powershell
Invoke-RestMethod -Method post -ContentType 'Application/Json' -Body '{"@context":"https://schema.org/extensions","@type":"MessageCard","themeColor":"0072C6","title":"Hello Teams!","text":"Hell Law World"}' -Uri https://웹훅URL
Shell
curl -d '{"@context":"https://schema.org/extensions","@type":"MessageCard","themeColor":"0072C6","title":"Hello Teams!","text":"Hell Law World"}' -H "Content-Type: Application/JSON" -X POST https://웹훅URL
'OS > 업무 팁' 카테고리의 다른 글
[Bamboo] Git Clone 시, 심볼릭 링크 처리가 되지 않는 경우 (0) | 2021.11.03 |
---|---|
PDF 번역 사이트 (0) | 2021.10.16 |
[Docker] Jfrog Artifactory 를 통한 Docker 설치 (0) | 2021.07.29 |
[Crucible] Crucible cannot anchor the patch to this repository (0) | 2021.07.02 |
[Bamboo] error: unknown switch 'c' (0) | 2021.06.28 |