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
'IT > Internet' 카테고리의 다른 글
OpenVPN 사용 시, Microsoft Office / Store 앱 인터넷 연결 유지 (0) | 2022.01.25 |
---|---|
[Microsoft Teams] Powershell - ConvertTo-Json UTF8 이슈 (0) | 2021.11.25 |
[AdGuard Home] Let's encrypt SSL 인증서 설정 (0) | 2021.11.05 |
PDF 번역 사이트 (0) | 2021.10.16 |
[Firefox] 폐쇄망에서 Firefox 업데이트 알림 끄기 (4) | 2020.02.05 |