From 0ad2c471d558a0aa3ad35a2d8f3a51f6837213fa Mon Sep 17 00:00:00 2001 From: Eleanor Frymire Date: Mon, 27 Aug 2018 20:50:32 -0700 Subject: [PATCH] adding app.post --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 150c1e4..33d605d 100644 --- a/index.js +++ b/index.js @@ -93,7 +93,11 @@ app.get('/subscriptions', function(request, response) { } }) - +// post the activity +app.post('/webhook/twitter', function(request, response) { + console.log(request) + console.log(response) +}) /** listen **/ const server = app.listen(app.get('port'), function() {