added restful example