rest consumer