Skip to content

manuelolmos/shortenurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortenurl

Run

$ make

Example usage

$ curl -i -X POST http://localhost:8080/longurl
HTTP/1.1 200 OK
content-length: 38
content-type: text/plain
date: Tue, 01 May 2018 19:02:37 GMT
server: Cowboy

http://localhost:8080/5RtLbSs4w5eUjA==
$ curl -i http://localhost:8080/5RtLbSs4w5eUjA==
HTTP/1.1 301 Moved Permanently
content-length: 0
date: Tue, 01 May 2018 19:02:55 GMT
location: longurl
server: Cowboy

About

Erlang HTTP server, shorten URL service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published