Fix example to return Response object