simplify the examples by making use of BaseAsyncHttpCallback