Hi, I have two routes /echo :get /:endpoint :post second is working fine but first is giving 404 what could i be missing?
Pedestal defaults to using prefix tree router but there's a caveat.
Provides less control over routing. For example, Wild card routes always win. The path /foo/:bar will always match over /foo/baz.
http://pedestal.io/pedestal/0.7/reference/prefix-tree-router.html#_caveats
got it thanks for your answer
but the /echo is at :get while wildcard is at :post
That should work with prefix-tree (but I’d have to check), I know it will work with the new sawtooth router.
sry i haven't followed with the latest updated, i was 0.5.6 and tried the updates
io.pedestal/pedestal 0.7.1 Pedestal is a set of Clojure libraries that bring the core Clojure principles - Simplicity, Power, and Focus - to server-side development. https://github.com/pedestal/pedestal Changes: • Correctly report the tracing span status • Change the embedded template to include an example using a POST and body parameters https://github.com/pedestal/pedestal/milestone/19?closed=1