Receiving event on server
So our server is receiving this post.
Now if we want to actually process this post in anyway, it's a good idea to use the body-parser module.
Let's go app.use and with Express we can just acquire this like this, body-parser essentially
what that does is passes out any post body into Jason or whatever.
If we use the Jason method like that then that should work.
What we'll actually do is rather than console logging the word received will do a console.log
Click to load comments...