added some code to output the response

haven't sorted out how to get a newline working between the response
code, and the response body