Failing tests for url-shortener

Tell us what’s happening:
Anyone can help me with this challenge?
I just posted my solution below ↓
For me everything is as intented.

Your project link(s)


Your browser information:

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

Challenge: URL Shortener Microservice

Link to the challenge:


You have to enable CORS for it to work:

CORS is already enabled by default in the github project:

Sorry for the delay, did you solve it?

If not, can you share your code?