url-shortener

module
v0.0.0-...-4e8521e Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT

README

url-shortener

Usage

Access to shortened URL
$ curl http://localhost:8080/google
Generate shortened URL
$ curl -X POST http://localhost:8080/api/v1/urls -H 'Content-Type: application/json' -d '{"original_url":"https://github.com/kokoichi206"}'
{"short_url":"mRJ"}

$ curl -v http://localhost:8080/mRJ

Directories

Path Synopsis
domain
model
repository

Jump to

Keyboard shortcuts

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