Skip to content

AlexandraIM/url-short-microservice-glitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeCodeCamp API: URL Shortener Microservice

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.

Example Usage

https://url-short-microservice-glitch.glitch.me/new/https://www.google.com

Example creation output

{ "original_url":"http://www.google.com", "short_url":"https://url-short-microservice-glitch.glitch.me/SJJHO06ez" }

Usage

https://url-short-microservice-glitch.glitch.me/SJJHO06ez

Will redirect to:

https://www.google.com

About

For freecodecamp URL Shortener Microservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published