api - Is it possible to create a SpringMVC RESTful Enpoint With Several Unnamed Attributes As Path Params -


according restful api best practice research i've been doing, uri should uniquely identify resource or list of resources. because of this, create endpoints use arbitrary path key/value pairs like:

get /customers/status/enrolled

instead of this:

get /customers?status=enrolled

similarly, setup unlimited number of identity partitions this:

get /customers/{attribute1name}/{attribute1value}/{attribute2name}/{attribute2value

is possible springmvc create requestmapping arbitrary set of path key/value pairs , unlimited number of them?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -