add getAllRequests for flask and android