This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-21
Channels
- # announcements (15)
- # babashka (2)
- # beginners (90)
- # cider (3)
- # circleci (1)
- # clj-kondo (5)
- # cljs-dev (7)
- # clojure (49)
- # clojure-australia (9)
- # clojure-berlin (3)
- # clojure-dev (1)
- # clojure-europe (58)
- # clojure-nl (3)
- # clojure-norway (1)
- # clojure-uk (7)
- # clojurescript (66)
- # code-reviews (1)
- # community-development (3)
- # conjure (47)
- # datomic (57)
- # emacs (4)
- # fulcro (5)
- # graalvm (1)
- # introduce-yourself (7)
- # jackdaw (1)
- # jobs (2)
- # kaocha (4)
- # lsp (87)
- # nrepl (1)
- # off-topic (33)
- # pedestal (7)
- # portal (12)
- # re-frame (7)
- # reitit (11)
- # releases (1)
- # ring (1)
- # rum (7)
- # sci (2)
- # shadow-cljs (38)
- # sql (15)
- # vim (2)
Hi all - new to reitit and curious about route conflicts. I have a very standard REST API with two routes:
GET /api/communities
POST /api/communities
Reitit is reporting that this is a conflict. Do the HTTP verbs not uniquely identify the routes?
Being new to this though maybe I just donโt have my route data structures setup correctly.. this is what I have
["/api"
["/communities"
{:get {:summary "Get list of communities"
:parameters {}
:response {200
{:body communities-api-shape}}
:handler handler/communities-handler}}]
["/communities"
{:post {:summary "Create a new community"
:parameters {:body communities-api-shape}
:response {200
{:body string?}}
:handler handler/create-community-handler}}]