Powered by Github | FreeCodeCamp | Glitch
User stories:
- I can pass a URL as a parameter and I will receive a shortened URL in the JSON response.
- When I visit that shortened URL, it will redirect me to my original link.
https://glitch-3.glitch.me/new/https://www.google.com
https://glitch-3.glitch.me/new/http://foo.com:80{ "original_url":"http://foo.com:80", "short_url":"https://glitch-3.glitch.me/8170" }https://glitch-3.glitch.me/2871https://www.google.com/Try this at Glitch
Made by (ee$