Skip to content

Instantly share code, notes, and snippets.

@c-garcia
Created December 2, 2015 21:29
Show Gist options
  • Save c-garcia/dcec246dd8f666e4d809 to your computer and use it in GitHub Desktop.
Save c-garcia/dcec246dd8f666e4d809 to your computer and use it in GitHub Desktop.
Simple web application gateway
;; The Application Gateway
(defroutes appgw
(GET "/uppercase/:text" [text]
(process-request text))
(route/not-found
(-> (r/response "NOT FOUND"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment