-
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://clumsy-meal.glitch.me/new/https://www.google.com
https://clumsy-meal.glitch.me/new/http://foo.com:80
{ "original_url":"http://foo.com:80", "short_url":"https://clumsy-meal.glitch.me/8170" }
https://clumsy-meal.glitch.me/8170
Will redirect to:
http://foo.com:80