added more example code for 'What is REST' section