flushing out a usage pattern for app using the rest client