builds request object
logs response body