Rest API Naming Convention
REST In REST, primary data representation is called Resource . One of the keys to achieving a good RESTful design is naming the HTTP verbs appropriately. It is really important to create understandable resources that allow people to easily discover and use your services. It is good practice to expose resources as nouns instead of verbs. Essentially, a resource represents a thing , and that is the reason you should use nouns. Verbs refer to actions, which are used to factor HTTP actions. But what can I make a resource? Well, these should be n ouns that make sense from the perspective of the API consumer. A resource can be a single or a collection . Once you have your resources defined, you need to identify what actions apply to them and how those would map to your API. Never use CRUD function names in URIs URIs should not be used to indicate that a CRUD function is performed. URIs should be used to uniquely identify resources and not any ac...