...
The REST plugin automatically handles serialization to, and deserialization from, each format.
Usage
Create your "Controllers" with the target methods First, create your Controller classes. Note, Actions normally expose the execute
method to as their target method. Controllers expose a different set of methods, indicated in the RESTful URL to actioncontroller/method logic described above. For example, the following resource action will support /orders/34
GET and PUT requests:
...