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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -