Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defroutes app
- (ANY "/user/:u" [u]
- :allowed-methods [:get :post]
- :handle-ok (fn [_] (user u))
- :post! (fn [_] (format "called post with %s" u))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement