{-# LANGUAGE OverloadedStrings #-} import Data.Monoid (mconcat) import Web.Scotty import Web.Scotty.TLS main :: IO () main = scottyTLS 3000 "server.key" "server.crt" $ do get "/:word" $ do beam <- param "word" html $ mconcat ["

Scotty, ", beam, " me up!

"]