Skip to content

chemok78/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener Microservice

How it works:

    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.

Example usage:

https://url-shortener-88digital.herokuapp.com/new/https://www.google.com https://url-shortener-88digital.herokuapp.com/new/http://foo.com:80

Example output: { "original_url":"http://foo.com:80", "short_url":"https://url-shortener-88digital.herokuapp.com/8170" }

Usage: https://url-shortener-88digital.herokuapp.com/2871

Will redirect to: https://www.google.com/

About

URL Shortener Microservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published