added streaming to GET data rest api