create a easy prototype for restful