Skip to content

Instantly share code, notes, and snippets.

@hhariri
Created April 7, 2013 11:36
Show Gist options
  • Save hhariri/5330134 to your computer and use it in GitHub Desktop.
Save hhariri/5330134 to your computer and use it in GitHub Desktop.
val server = AppServer()
Routes.get("/good",{ response.send("Well this means that routes now work!")})
Routes.get("/",{ response.send("Hello, how are you")})
"/customer" post { response.send("abc") }
server.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment