used getResponseBodyAsStream