Skip to content

lrbn86/url-shortener-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener API

Shorten a given link

Features

  • Create a new short URL
  • Retrieve an original URL from a short URL
  • Update an existing short URL
  • Delete an existing short URL
  • Get statistics on the short URL

Endpoints

Method Path Description
POST /shorten Create a short URL
GET /shorten/:shortCode Retrieve original URL
PUT /shorten/:shortCode Update a short URL
DELETE /shorten/:shortCode Delete a short URL
GET /shorten/:shortCode/stats Get statistics for short URL

About

Experimental REST API to shorten links

Resources

Stars

Watchers

Forks