Update index.md (#19627)

Added clarification as to what needs to go in to the mount.
This commit is contained in:
Jose Toledo
2018-10-21 18:24:20 +03:00
committed by Tom
parent 69cd766042
commit 584f029d4d

View File

@ -12,6 +12,10 @@ The body-parser should already be added to your project if you used the provided
... ...
``` ```
You need to do for this challenge is pass the middleware to app.use(). Make sure it comes before the paths it needs to be used on. All you need to do for this challenge is pass the middleware to app.use(). Make sure it comes before the paths it needs to be used on. Remember that body-parser returns with `bodyParser.urlencoded({extended: false})`. Use the following as a template:
```javascript
app.use(middleware-function);
```
<a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/basic-node-and-express/use-body-parser-to-parse-post-requests/index.md' target='_blank' rel='nofollow'>Help our community expand these hints and guides</a>. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/basic-node-and-express/use-body-parser-to-parse-post-requests/index.md' target='_blank' rel='nofollow'>Help our community expand these hints and guides</a>.