Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)...