SHARE
TWEET

liberator

a guest Oct 6th, 2014 195 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defroutes app
  2.   (ANY "/user/:u" [u]
  3.       :allowed-methods [:get :post]
  4.       :handle-ok (fn [_] (user u))
  5.       :post! (fn [_] (format "called post with %s" u))))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top