Skip to content

Omkarz7/url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-shortner

Shorten URL

Send a post request to http://localhost:4700 with the follwing data

{"longURL": "https://www.google.com/"} You will recieve a response looking something like {"longURL":"https://www.google.com/","shortenedUrl":"http://localhost:4700/MTM5MzQ3"}

Redirect to Shortened URL

Simply Enter the shortened URL in your browser to be navigated to Original ULR To follow the above example, just enter http://localhost:4700/MTM5MzQ3 in your browser and you will be redirected to https://www.google.com/

Note:

  • Hopefully, I have completed the assigement expcept the BONUS points. Please let me know if I have missed anything.
  • I will be aiming to complete BONUS points but till then I request you to judge the completed work.

About

Create as an assignment for InfraCloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages