Hi, After quite a bit of trying various things I got this working now:
(ns trans.core.handler (:require [compojure.core :refer :all] [compojure.route :as route] [compojure.handler :as handler] [ring.util.response :as ring-response] [ring.middleware.transit :as trans :only [wrap-transit-response wrap-transit-params]])) (defn get-data [] (ring-response/response {:a 1 :b 2})) (defroutes app-routes (GET "/" [] "Hello World") (GET "/test" [] (get-data)) (route/not-found "Not Found")) (def app (-> app-routes (handler/site) (trans/wrap-transit-params) (trans/wrap-transit-response))) The change that made the difference seems to the the ring-response/response call in the get-data function. I hope that this helps other people and a big thank you to Ahmad for a hint in the right direction. Thomas -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.