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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -