API: URL Shortener Microservice

Create a shortened URL, either by submitting the URL in the form below or by visiting the API endpoint at:

GET http:/urlshort.celandau.com/api/shorturl/new/

Example:
http://urlshort.celandau.com/api/shorturl/new/https://www.google.com
Response:
{"original_url":"www.google.com","short_url":"1111"}

Example:
POST http://urlshort.celandau.com/api/shorturl/new - https://www.google.com

Example Usage:

By visiting the output short URL: http://urlshort.celandau.com/api/shorturl/8115

You will be redirected to: http://www.freecodecamp.com