Skip to content

Commit 5b1b6be

Browse files
committed
minor changes to golang-slackbot readme
1 parent fd127e4 commit 5b1b6be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/golang-slackbot/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![1-click-deploy](https://defang.io/deploy-with-defang.png)](https://portal.defang.dev/redirect?url=https%3A%2F%2Fgithub.com%2Fnew%3Ftemplate_name%3Dsample-golang-slackbot-template%26template_owner%3DDefangSamples)
44

5-
This is a simple slackbot that takes a request and posts the message from the body to a slack channel.
5+
This is a simple Slackbot that takes a request and posts the message from the body to a Slack channel.
66

77
## Prerequisites
88

@@ -75,7 +75,7 @@ If you want to deploy to your own cloud account, you can use Defang BYOC:
7575

7676
Once the Slackbot is deployed, you can send a POST request to the `/` endpoint with a JSON body containing the message you want to post to the Slack channel. Here's an example:
7777
78-
```sh
78+
```bash
7979
curl 'https://raphaeltm-bot--8080.prod1.defang.dev/' \
8080
-H 'content-type: application/json' \
8181
--data-raw $'{"message":"This is your bot speaking. We\'ll be landing in 10 minutes. Please fasten your seatbelts."}'

0 commit comments

Comments
 (0)