Configure REST service.