Request Matching
Understand how moclojer matches requests to endpoints - method, path, headers, and query parameters. Learn matching precedence and conflict resolution.
π― Matching Criteria
π Matching Order
# 1. Exact path matches first
- endpoint:
method: GET
path: /users/me
# 2. Path parameters second
- endpoint:
method: GET
path: /users/:id
# 3. Wildcards last
- endpoint:
method: GET
path: /users/*β
Best Practices
π See Also
Last updated
Was this helpful?