Every thing is fine in Browser but not passing test, checked so many times

Tell us what’s happening:
Describe your issue in detail here.

Issue in test passing , for project Timestamp Microservice.
In my browser working fine and getting all values ok.
Pass all test except one test for unix timstamp error maintion test error message :
A request to /api/1451001600000 should return { unix: 1451001600000, utc: "Fri, 25 Dec 2015 00:00:00 GMT" }

Browser output is :
{“unix”:“1451001600000”,“utc”:“Fri, 25 Dec 2015 00:00:00 GMT”}

Exmple given by test output : (https://timestamp-microservice.freecodecamp.rocks/api/1451001600000) :
{“unix”:1451001600000,“utc”:“Fri, 25 Dec 2015 00:00:00 GMT”}

Please guide me , where I am wrong.


Your project link(s)

solution: boilerplate-project-timestamp - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36

Challenge: Timestamp Microservice

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.