ring

2017-10-24T15:37:24.000763Z

@mfm That looks fine… Do you happen to have any other middleware wrapping your routes?

zlrth 2017-10-24T15:46:33.000397Z

i got it to work hours later, then fell asleep. i think i understand what happened. let me know if i’m off-base. i have what i posted above, but, per the project created by the template lein new luminus my-app, i also have in middleware.clj

(defn wrap-base [handler]
  (-> ((:middleware defaults) handler)
      ...
        (wrap-defaults site-defaults)
        wrap-context
        wrap-internal-error))
where site-defaults has under :security :anti-forgery set to true. so, yes @weavejester, if i understand correctly, i had csrf protection set in two places, middleware.clj, in my app-routes with wrap-csrf.

2017-10-24T15:47:03.000503Z

Thanks for the update, @mfm. Glad you got it fixed.

zlrth 2017-10-24T15:47:08.000486Z

: )