made example local, not using REST
made example local, not using REST
added doc