Basic Node and Express - Get Data from POST Requests

Tell us what’s happening:

The /name POST challenge keeps failing even though the handler looks correct. I added body-parser, verified the form uses first and last, and confirmed both GET /name and POST /name return {"name":"John Doe"} locally on localhost:3000. This suggests the issue may be with the running server instance, route order, cached session, or freeCodeCamp’s test runner not hitting the updated app.

###Your project link(s)

solution: http://localhost:3000

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

Challenge Information:

Basic Node and Express - Get Data from POST Requests

Welcome to the forum @abhayganesh154

After making the change did you restart the server?

Happy coding

Skip the exercise, the tester crashes before it can properly evaluate the endpoint, so even if your solution is right you will fail both tests.

Hey there, I found a workaround for it, download Firefox v109. it’ll work on it.
https://ftp.mozilla.org/pub/firefox/releases/109.0/win64/en-US/
I wish I could tell all the people who faced this problem but there’s only two opened cases and yours is one.