上QQ阅读APP看书,第一时间看更新
Getting ready
In this recipe, you will see how to use the body-parser NPM module to parse the content body sent from two different forms encoded in two different ways. Before you start, create a new package.json file with the following content:
{ "dependencies": { "body-parser": "1.18.2", "express": "4.16.3" } }
Then, install the dependencies by opening a terminal and running:
npm install