To require a certain suffix in a REST request using Lift, you can use the unapply method on the Req object.
1 2 3 4 | |
This would match /api/users/1/posts.xls.
To require a certain suffix in a REST request using Lift, you can use the unapply method on the Req object.
1 2 3 4 | |
This would match /api/users/1/posts.xls.