Skip to content

Instantly share code, notes, and snippets.

@mager
Last active December 28, 2015 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mager/64be5ef0320be36b36fd to your computer and use it in GitHub Desktop.
Save mager/64be5ef0320be36b36fd to your computer and use it in GitHub Desktop.
Writing a Slackbot in 40 lines of code (Part 1)
var express = require('express');
var app = express();
var url = require('url');
var request = require('request');
var bodyParser = require('body-parser');
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment