2.9 Demonstrate ability to build RESTful web application using core Web Services capabilities

Review the GET method and the correct way to retrieve a GET response.

Web services are now included as a part of Drupal core. After enabling the RESTful web services you can expose entities and other resources as RESTful web API.

GET, POST, and PATCH methods

GET

The GET method requests data from a specific source.

http://example.com/node/1?_format=json

POST

The Post method submits data to be processed.

PATCH

The PATCH method is for updating entities.

Other Resources