RESTful api framework