Refactored the RESTful action/HTTP method translation