Good point, but should be conditional based on the content type. The main POST method could dispatch the request (call the method corresponding to the content type).