Skip to content

holymark/cutlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 Url Shortener API

🚀 Usage

  • Create a new URL short-link
{
  "method": "POST",
  "path": "/api",

  // What you are sending
  "body": {
    "path": "https://www.google.coom"
  },

  // All is ok (200)
  "payload": {
    "path": "https://www.google.coom",
    "pureId": "1492432",
    "encodedId": "gqpE"
  }
}
  • Get a shortened-link
{
  "method": "GET",
  "path": "/api/gqpE",

  // What you are receiving
  "response": "https://www.google.com"
}

✅ Done

About

URL shortener API implementation (node.js)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published