API Timestamp project fails

Tell us what’s happening:
I have written the project in the way I thought. It was giving all responses as per the described requests in test cases. I got somehow frustrated and decided to copy & paste the solution and test it this way. Still have the trouble as it simply doesn’t passes the test cases.
Your project link(s)

solution: https://fh-timestamp-microserviceg.glitch.me
githubLink: GitHub - faridhuseynov/FCC_Timestamp-Microservice: FreeCodeCamp certification project

Your browser information:

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

Challenge: Timestamp Microservice

Link to the challenge:

You’re missing CORS headers.

How do you add them?

1 Like

Many thanks, it was driving me just crazy, learnt also something new in addition! :slight_smile: