Changes

stoney core: REST API

1 byte added, 10:58, 13 November 2013
/* Resources and HTTP methods */
=== Resources and HTTP methods ===
Resources are always nouns, and specified in plural (such as resellers, customers, users etc.), this prevents one from dealing with irregular pluralizations such as person/people.
 
The manipulation of resources happens via the HTTP request methods such as <code>GET</Code>, <code>POST</code>, <code>PUT</code>, <code>DELETE</code> and <code>PATCH</code>.
The following example illustrates the concept with a fictive user resource:
SLB
385
edits