RESTful web service framework