Skip to content

kevinmeredith/tiny-url-servant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project

How to Run

$stack build
$stack exec project-exe
# it's now running the web server

# open another terminal

$curl --header "Accept: text/html" localhost:8081/tinyUrl/asdfasdf
<tr><td>asdfasdf</td></tr>
$
$curl --header "Accept: application/json" localhost:8081/tinyUrl/asdfasdf
{"value":"asdfasdf"}$

About

Tiny URL in Haskell's servant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published