Hello guys, is there anyone else having trouble submitting the assignment through repl? Everytime I submit, no matter what I submit, it returns to me exactly one of the same thing right and everything else wrong. This is weird as by locally testing I know my code is working and returning what it should to pass some of the requirement, if not all. Anyone else experiencing this or have ways to fix this?
If you share your repl link, we can double check,
Thank you. please check it if you can
I think you may not be returning an object with the right keys in the
/api endpoint. For example an invalid date should return an object like this one:
(check this link) https://timestamp-microservice.freecodecamp.rocks/api/2015-15-05
The project instructions state a request to
/api/:date. Also, if you look a the examples on the
index.html page for the project, you will see:
You are using a different route than the instructions state. That is why you are failing all but 2 of the tests. The other two tests that fail are explained in the test descriptions.
Yes, he is analyzing this endpoint
/api/date/:date so to start with there is a problem there, I believe. Can you spot it @sip ?
Edit: just by fixing that route, you get almost all correctly.
Yes after doing this yesterday I found the route error and corrected and almost all got correct. thank you!