Using the new BaseAPI class (to be tested)