Simple rest client showing different ways to call rest interfaces