Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 844 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 844 Bytes

Shortly | Link Shortener

Shorten user defined link.

API Methods

The API accect only GET method.

API Routes

  • Base route
https://shortly-samin.herokuapp.com
  • Shorten a link
https://shortly-samin.herokuapp.com/shorten

Create a short link for a given URL. Requires a url parameter

Example

https://shortly-samin.herokuapp.com/shorten?url=example.org

Response

{
  "result": {
      "shortenId": "kcven",
      "shortenLink": "https://shortly-samin.herokuapp.com/redirect/kcven",
      "originalLink": "http://example.org"
  }
}

The frontend part of this project

The Live preview of this project

Happy Coding 🚀