fix handling of status code and use request format for the save and update actions, because typically a client doesn't specify an ACCEPT header but does specify the request content type