Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brabster/slackathonmcr-2016-02-07
Slackathon slash-command to perform an HTTP get and inspect response details in-channel
https://github.com/brabster/slackathonmcr-2016-02-07
Last synced: 1 day ago
JSON representation
Slackathon slash-command to perform an HTTP get and inspect response details in-channel
- Host: GitHub
- URL: https://github.com/brabster/slackathonmcr-2016-02-07
- Owner: brabster
- Created: 2016-02-07T11:44:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-10T18:48:35.000Z (almost 9 years ago)
- Last Synced: 2023-08-02T04:58:57.860Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slackathonmcr-2016-02-07
Runs as NodeJS AWS Lambda function that responds to a [slash command](https://api.slack.com/slash-commands) such as `/httpping example.com` in your Slack channel with a colour-coded HTTP response code and the response headers:
![Example /httpping output in Slack](https://pbs.twimg.com/media/CayXLGJWcAAnwzJ.jpg).
For the Slack and AWS setup, see @pixelcodeuk's [writeup of creating a slash command with AWS Lambda and API Gateway] (https://medium.com/@pixelcodeuk/create-a-slack-slash-command-with-aws-lambda-83fb172f9a74#.86ezyic1i)
This was written as part of the first [SlackathonMCR](https://www.eventbrite.co.uk/e/slackathon-mcr-tickets-20036713349) and it's very much just an exercise or example.
We also wrote a [bot](https://github.com/bcaller/slack-bingo-bot)...