restfull tut exmple