This is example project for pinpoint alarm webhook functionality.
You can reuse this server to use sending slack message to your own channel.
pinpoint webhook documentation
- Java 1.8
- Spring Boot
If you don't have any webhook incoming url yet, please refer to this documentation.
slack incoming webhook integration
- in application.properties
slack.incoming.webhook.url={SLACK_INCOMING_WEBHOOK_URL} - ./mvnw package
- java -jar target/slack-receiver-0.0.1-SNAPSHOT.jar
http://localhost:8085/api/send/slack
description | code |
---|---|
send success | 200 |
send fail | 500 |
wrong type | 400 |