Change the REST API to be more RESTFul