add the restful