Skip to content

yuval-gr/tiny-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-url

A basic tiny URL in memory generator.

Usage

Create new tiny URL via CURL command

curl http://localhost:8080/ \
    --include \
    --header "Content-Type: application/json" \
    --request "POST" \
    --data '{"url": "https://go.dev/doc/tutorial"}' 

Get all in memory tiny URLs

curl http://localhost:8080

Docker

In order to run the code inside docker container please run:

docker build --tag tiny-url .
docker run --rm -p 8080:8080 tiny-url

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages