URL Shortener API doesn't pass redirect-test

Hello all,
My project passes 3 of 4 tests in this challenge. The one it fails is " When you visit /api/shorturl/<short_url> , you will be redirected to the original URL."

However, when I try to use my API myself, it does redirect. I can also see that it has saved URLs in my database, and when I use a short-url corresponding to one of these it does work. Anyone who has an idea as to why this might happen?

Note: My project also shows my solutions for the previous API challenges, but it is only the bottom one that I am having issues with currently.

I just tried to submit the project again 12 minutes later (without changing a single bit) and it worked… Hmm :thinking:

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