Connecting console to REST