asynchronous rest serving