Skip to content

jls83/crisgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crisgo

It's shortening!

Quickstart

go run main.go

Then, in another shell:

# This should return a response with the address for the shortened item
curl -d "value=something" http://localhost:8080/shorten/

# This should return a response with your shortened URL
curl http://localhost:8080/lengthen/{INSERT_RESULT_HERE}

You can also hit the redirector endpoint in a browser like so: http://localhost:8080/redirector/{INSERT_RESULT_HERE}

About

It's shortening!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages