             [suricatta.core :as sc]
             [uxbox.services.auth :as usa]
             [uxbox.services.users :as usu]
-            [uxbox.util.transit :as transit]
+            [uxbox.util.transit :as t]
             [uxbox.migrations :as umg]
             [uxbox.media :as media]
             [uxbox.db :as db]

  ([uri params]
   (http-post nil uri params))
  ([user uri {:keys [body] :as params}]
   (let [body (-> (transit/encode body)
                  (codecs/bytes->str))
         headers (merge
                  {"content-type" "application/transit+json"}

  [{:keys [status headers body]}]
  (if (= (get headers "content-type") "application/transit+json")
    [status (-> (codecs/str->bytes body)
                (t/decode))]
    [status body]))

(defn http-get
