$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"}$
-
Notifications
You must be signed in to change notification settings - Fork 2
Tiny URL in Haskell's servant
License
kevinmeredith/tiny-url-servant
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tiny URL in Haskell's servant
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published