Refine the REST-to-HTTP method mapping