 
 (require '[ring.util.response     :as http-response])
 (require '[clojure.tools.logging  :as log])
+(require '[clojure.data.json      :as json])
 
 (require '[hurvinek.html-renderer :as html-renderer])
 (require '[hurvinek.exporter      :as exporter])

    (-> (:configuration request)
        :server
        :url-prefix))

(defn finish-processing
    [render-function request title & rest-parameters]

            "/api/groups"                 (process-list-of-groups       request)
            "/api/components"             (process-list-of-components   request)
            "/api/components-to-chapter"  (process-list-of-components-to-chapter request)
            "/api/info"                   (process-api-info             request)
            )))

