Tell us what’s happening:
Describe your issue in detail here.
You can POST
to /api/users/:_id/exercises
with form data description
, duration
, and optionally date
. If no date is supplied, the current date will be used. The response returned will be the user object with the exercise fields added.
TO find out the content I used req.body as well as req.params but I m only able to get what I enter in _id and not in any other input.
Your project link(s)
Your browser information:
Challenge: Exercise Tracker
Link to the challenge: