       wrap-json-response
       wrap-multipart-params
       (wrap-cors :access-control-allow-origin [#"http://localhost:3000"]
-                  :access-control-allow-methods [:get :put :post :delete])))
+                 :access-control-allow-methods [:get :put :post :delete])))
 
 (defn -main []
   (run-server (app) {:port (:port @config)})

   :offspring s/Str
   :greek-equivalent s/Str})

(defn mapify-gods
  [pdf]
  (map

      (GET "/time-lord" []
        :return String
        :summary "return local time"
        (ok (timelord)))
      (GET "/fibo" []
        :return fibo-numbers
        :query-params [steps :- Long]
        :summary "return fibonacci numbers"
        (ok (fibo steps)))
      (POST "/add-god" []
        :return god
        :body [gods god]
        (ok gods))))))

;;Middleware is a function that receives the request and response objects of an HTTP request/response cycle.
;;in other frameworks “middleware” is called “filters”
