Return correct body, response code and content-type for GET requests