The post is not woeking even though It is same as the get function

Tell us what’s happening:
I tried like how they said in the hint section, but it still does not work, I also cannot find out what the error is.

Your project link(s)

solution: https://replit.com/@tomvsaji/boilerplate-express-1

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0

Challenge: Get Data from POST Requests

Link to the challenge:

1 Like

Move the bodyParser middleware app.use call up before the usage. I would suggest you just move all middleware usage up to the top of the file after the require/imports.

2 Likes