Back End Development and APIs Projects - Timestamp Microservice

What’s happening:
I can’t pass the 5th test " Your project can handle dates that can be successfully parsed by new Date(date_string)". I’ve tried to pass /api/5 October 2011 to the url and I got the result right:

What could be wrong?
Any helpful answer would be very appreciated.

The project link(s)

githubLink: GitHub - ricky-kiva/b-end-fcc-timestamp-ms: Making Timestamp Microservice as FCC Project

solution: b-end-fcc-timestamp-ms - Replit

Browser information:

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

Challenge: Back End Development and APIs Projects - Timestamp Microservice

Link to the challenge:

Request URL:

https://b-end-fcc-timestamp-ms.ricky-kiva.repl.co/api/05%20October%202011,%20GMT

Response:

{"unix":1317772800000,"date":"Wed, 05 Oct 2011 00:00:00 GMT"}

Why is it using a date property?

Oh, DAMN, hahah, my bad! Thanks for the correction! :laughing:

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