url-shortener

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 8 Imported by: 0

README

url-shortener

URL shortener service

Setup

git clone <repo url>

go run url-shortener/urlshortener.go

Create short URL

curl --fail-with-body -X POST http://localhost:8080/shorten -d "url=https://www.example.com"

Delete short URL

curl --fail-with-body -X DELETE "http://localhost:8080/delete?shortUrl=test123"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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