Apologies this is a super basic question but I can't seem to find anything on Google.
I can see that I can use keywords in path names to indicate a variable, like thing/:thing-id/sub-thing
, but I'm not clear on how to then use the thing-id in my handler. Does it get passed in as part of the request?
You should end up with a :path-params
key added to the incoming request, with a value like {:thing-id "some-id"}
I see it - thanks very much!
if you set up automatic parameter coercion, the coerced parameters will be copiend under [:parameters :path]
.