example of REST API using Loopback 2