Sample client code for BaseKit's REST API