Created
December 2, 2015 21:29
-
-
Save c-garcia/dcec246dd8f666e4d809 to your computer and use it in GitHub Desktop.
Simple web application gateway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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