Free Code Camp Bonfire

URL Shortener Microservice

User Stories

Example Uses:

Create Shortened URL:

http://hurley-fcc-urlshortener-api.herokuapp.com/new/http://www.foo.com

Output:

{'original_url':'http://www.foo.com', 'short_url':'http://hurley-fcc-urlshortener-api.herokuapp.com/1234'}

Usage:

http://hurley-fcc-urlshortener-api.herokuapp.com/1234/

Will redirect to:

http://www.foo.com/