print out the response from the stream api