make RESTful