output command result
output res.body if its there