Slack 세팅

 

1.Add more apps

2. incoming webhooks 검색 -> install

3. 메세지 전송할 채널 선택

 

4. 메세지 구조

curl -X POST --data-urlencode "payload={\"channel\": \"#general\", \"username\": \"webhookbot\", \"text\": \"This is posted to #general and comes from a bot named webhookbot.\", \"icon_emoji\": \":ghost:\"}" http://여기에 채널 주소가 들어가게됩니다.

 

태그 설명

username : 보내는 사람 이름

text : 보낼 내용

icon_emohi : 이모티콘 사용

 

5. 터미널 아무 경로에서 작성

 

+ Recent posts