restful example