Back End Development and APIs Projects - Timestamp Microservice

Tell us what’s happening:

Describe your issue in detail here.

###Your project link(s)

solution:
https://backend-timestamp-f6i36m31a-sanvika890.vercel.app
https://backend-timestamp-f6i36m31a-sanvika890.vercel.app/api/1451001600000

githubLink:

I have deployed this on Vercel and it works. I have tested it but somehow it wont pass any of the tests through FCC. Please help where am i going wrong?

Your browser information:

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

Challenge Information:

Back End Development and APIs Projects - Timestamp Microservice

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Your unix value is not correct for two (well, three) of the tests.

https://backend-timestamp.vercel.app/api/2016-12-25

{"unix":2016,"utc":"Thu, 01 Jan 1970 00:00:02 GMT"}

https://backend-timestamp.vercel.app/api/05%20October%202011,%20GMT

{"unix":5,"utc":"Thu, 01 Jan 1970 00:00:00 GMT"}
1 Like

thanks! I was unable to run the correct type of tests on my end. Your examples helped modify my code, Appreciate it!

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