use httr response object