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.
The GET method requests data from a specific source.
The Post method submits data to be processed.
The PATCH method is for updating entities.