use stream for request