The video for this lesson is currently being updated, please read the transcript instead.

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

To view the complete lesson you'll need to login or join this course.


Click to load comments...