linkshort

module
v0.0.0-...-8ab8685 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: MIT

README

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL