Mock REST api server task