Back End Development and APIs Projects - Timestamp Microservice

Tell us what’s happening:
Could someone help me with this ?

It shows me my solutions

  • An empty date parameter should return the current time in a JSON object with a unix key
  • An empty date parameter should return the current time in a JSON object with a utc key

are not correct, in my testings they are…

Thank you a lot!

Your project link(s)

solution: https://desolate-cliffs-55722.herokuapp.com
githubLink: GitHub - StefanBartl/WKD-FCC-timestamp: A boilerplate for a freeCodeCamp project.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - Timestamp Microservice

Link to the challenge:

image
This is what I get when I enter a parameter without a date…


image
This is what I get from the sample project.

Oh thank you !

I missunderstood this last task: thought “empty :date” means requests to GET /api/
but you wrote /api … so i made a small debugging and it works fine now thank you!
:slight_smile:

Cool, i#m happy now, thank you much for time and patience!

1 Like