Using httpresponse