Skip to content

Commit

Permalink
Merge pull request #12 from two-n/master
Browse files Browse the repository at this point in the history
adding app.post
  • Loading branch information
efrymire authored Aug 28, 2018
2 parents a2d63e7 + 0ad2c47 commit a458825
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a458825

Please sign in to comment.