Tell us what’s happening:
Exercise tracker tests keep failing and I don’t know why !
the test #8 says :
The response returned from POST /api/users/:_id/exercises will be the user object with the exercise fields added.
here is what I respond :
{
username: ‘Dragon’,
description: ‘coussi coussa’,
date: ‘1736290800000’,
_id: ‘677dd6256578e2db85e8541a’,
duration: 5
}
and I don’t understand why test fail.
here is my gitpod : https://freecodecam-boilerplate-t0ahsnb9r56.ws-eu117.gitpod.io
###Your project link(s)
solution: https://3000-freecodecam-boilerplate-t0ahsnb9r56.ws-eu117.gitpod.io
githubLink: https://3000-freecodecam-boilerplate-t0ahsnb9r56.ws-eu117.gitpod.io
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Back End Development and APIs Projects - Exercise Tracker