Nguyen Tien Si
GO1

Image source: blog.xrtml.org
GET /node/1 HTTP/1.1
Host: d8.local:8083
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36
Referer: http://d8.local:8083/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,vi;q=0.6HTTP/1.1 200 OK
Date: Mon, 08 Sep 2014 09:02:26 GMT
Server: Apache/2.4.9 (Unix) mod_fcgid/2.3.9
X-Powered-By: PHP/5.5.15
Cache-Control: must-revalidate, no-cache, post-check=0, pre-check=0, private
X-Drupal-Cache-Tags: theme:bartik theme_global_settings:1 block_view:1 block:bartik_powered block:bartik_footer block:bartik_login block:bartik_content block_plugin:system_powered_by_block block_plugin:system_menu_block__footer block_plugin:user_login_block block_plugin:system_main_block rendered:1 menu:footer menu:main node_view:1 node:1 user:1 taxonomy_term:2 taxonomy_term:1 filter_format:basic_html user_view:1
X-Generator: Drupal 8 (http://drupal.org)
X-UA-Compatible: IE=edge,chrome=1
Content-language: en
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8


Image source: http://brickwicks.co.uk/
"A Web service is a method of communication between two electronic devices over a network (the WWW)."
from Wikipedia.
"Representational state transfer (REST) is an abstraction of the architecture of the World Wide Web; more precisely, REST is an architectural style consisting of a coordinated set of architectural constraints applied to components, connectors, and data elements, within a distributed hypermedia system."
from Wikipedia.

From https://restful-api-design.readthedocs.org
Model

GET method

COMPONENTS
The semantics of this call are like PUT inthat it updates a resource, but unlike PUT, it applies a delta rather than replacing the entire resource.
Recommendation:

POST

DELETE

GET
HAL is a simple format that gives a consistent and easy way to hyperlink between resources in your API.

Web Services module list
Create - POST - /entity/node
Read - GET - /node/1
Update - PATCH - /node/1
Delete - DELETE - /node/1
Auth Providers in contrib: OAuth
See more: https://www.drupal.org/node/2110825

