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.
solution: https://boilerplate-project-urlshortener.codecypher.repl.co
Challenge: URL Shortener Microservice
Link to the challenge: