14.1.2 Endpoint Methods

Endpoints respond to GET (“read”), POST (“write”) and DELETE (“delete”) requests. To return a response from an endpoint, annotate its public method/s with one of following annotations:

Table 1. Endpoint Method Annotations
AnnotationDescription

Read

Responds to GET requests

Write

Responds to POST requests

Delete

Responds to DELETE requests