Categorygithub.com/leolas95/mini-url
module
0.0.0-20240620004742-d2142ea41160
Repository: https://github.com/leolas95/mini-url.git
Documentation: pkg.go.dev

# README

Short hash

This a URL shortener service: given a URL, it returns a shorter version of it.

When the short URL is used, you get redirected to the original location.

Endpoints

Shorten URL

POST /urls

url={long_url}

Returns the short version of the URL

Get original URl

GET /urls/{short_url}

Redirects you to the original URL. Returns an HTTP 307 TEMPORARY REDIRECT status code

# Packages

No description provided by the author