Defining and representing your resources in your RESTful API

This short article is the second one of the series of articles I’m writing about pragmatic decisions for your RESTful API. It follows the introduction of this series of articles.

Defining your resources: use nouns, not verbs

One of the basic principles of REST is that it is based on resources vs actions. The first thing you should do when you design a RESTful API is to define your basic resources. One that you will most probably have is a user resource, probably with…