REST API.

The communication between server and client is managed with rest http. When you want invoke a specific method you can use :

see also Create your Activity.
Demo code

Array