KhRestFunctionality working