Representational state transfer. REST-style architectures conventionally consist of clients and servers.
RESTful web API HTTP methods
Resource 1: http://example.com/resources
PUT:Replace the entire collection with another collection.
POST: Create a new entry in the collection. The new entry’s URI is assigned automatically and is usually returned by the operation.
PUT:Replace the addressed member of the collection, or if it doesn’t exist, createit.
POST:Not generally used. Treat the addressed member as a collection in its own right and create a new entry in it.