Shorten user defined link.
The API accect only GET method.
- 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
https://shortly-samin.herokuapp.com/shorten?url=example.org
{
"result": {
"shortenId": "kcven",
"shortenLink": "https://shortly-samin.herokuapp.com/redirect/kcven",
"originalLink": "http://example.org"
}
}