Make cart actions RESTful.