ACM-Thapar / ACM-Thapar/opensource-bootcamp-1
POST requests failing (Cannot read property of undefined)
Open
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When sending a POST request to /todos, the server fails to read the body. It seems like the body parsing middleware is missing. Expected Behavior: app.use(express.json()) should be added to parse incoming JSON payloads.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.