Timestamp Microservice, last 2 tests dont pass

Tell us what’s happening:
The last two tests don’t pass even though the displayed “current” GMT times of the project example and my project are equal.

copied from https://boilerplate-project-timestamp-1.vincenthehna.repl.co/api/ :
{“unix”:1657799899793,“utc”:“Thu, 14 Jul 2022 11:58:19 GMT”}

copied from https://timestamp-microservice.freecodecamp.rocks/api/ :
{“unix”:1657799899211,“utc”:“Thu, 14 Jul 2022 11:58:19 GMT”}

Your project link(s)

solution:

https://boilerplate-project-timestamp-1.vincenthehna.repl.co/

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Back End Development and APIs Projects - Timestamp Microservice

Link to the challenge:

try it on your mobile phone, hopefully it will pass

Unfortunately not, it even failed on 3 tests here :\

somebody got an idea why this fails?

You are failing the last two tests for this project:

  • 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

When I make a request to:

https://boilerplate-project-timestamp-1.vincenthehna.repl.co/api

I get:
image

Your api only responds if you add an extra / to the end of api.

oh wow, thanks, that one wasnt on my radar at all