metosin / compojure-api

Sweet web apis with Compojure & Swagger
http://metosin.github.io/compojure-api/doc/
Eclipse Public License 1.0
1.11k stars 149 forks source link

How to add dynamic Id in the URL? Problem is specified in desciption. #444

Closed RomitGandhi07 closed 4 years ago

RomitGandhi07 commented 4 years ago

Library Version(s)

2.0.0-alpha30

Problem

I want to get the details from the id which is specified in the URL. eg: api/users/1 , that should give me the details of 1st user, same for api/users/2 that should give me the details of 2 nd user and likewise.