URI Cutter Service
Installation
git clone git@github.com:onemgvv/linkshort.git
# or
git clone https://github.com/onemgvv/linkshort.git
Start Up application
make startup
Usage
# Create shortlink
POST http://localhost:1350/api/v1/link HTTP/1.1
Content-Type: application/json
Connection: Keep-Alive
{
"link": "https://github.com/onemgvv"
}
###
# you must change {{data_from_prev_request}} to value from "data"
# in prev request, for example: "a32f4t"
GET http://localhost:1350/api/v1/link/{{data_from_prev_request}} HTTP/1.1
Content-Type: application/json
Connection: Keep-Alive