Problem with URL Shortener Microservice

I am working on the " URL Shortener Microservice" project which is kinda short on documentation of what it should do. I have it working but it does not seem to pass the tests for the “I’ve completed this challenge” button.

You can POST a URL to /api/shorturl/new and get a JSON response with original_url and short_url properties. However, the test fails.

When you visit /api/shorturl/<short_url> , you will be redirected to the original URL. However, the test fails.


Challenge: URL Shortener Microservice

Link to the challenge:

I’ve tried to add new url for the shortening, it seems to be redirecting currently to the home page of submitted url, instead to the actual full url.

For example instead of
it redirects to