getBody()->write($req->getServerParams()['REMOTE_ADDR']); return $resp; }