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://obscure-dusk-61787.herokuapp.com/new/https://www.google.com
https://obscure-dusk-61787.herokuapp.com/new/http://foo.com:80
{
"original_url":"http://foo.com:80",
"short_url":"https://obscure-dusk-61787.herokuapp.com/8170"
}
https://obscure-dusk-61787.herokuapp.com/2871
Will redirect to: