anchor.diff:                          malformed_request/2,
                           ping/2,
                           post_is_create/2]}]).
  +
  +-mixin([{chef_wm_base, [{list_objects_json/2, to_json}]}]).
   
   -mixin([{?BASE_RESOURCE, [forbidden/2,
                             is_authorized/2,
  
positive.code: allowed_methods(Req, State) ->
      {['GET','POST'], Req, State}.
  
  validate_request('GET', Req, State) ->
      {Req, State};
  validate_request('POST', Req, #base_state{resource_state = DataState} = State) ->
      Body = wrq:req_body(Req),
      {ok, DataBagEjson} = chef_data_bag:parse_binary_json(Body, create),
  
negative.code:                                            data_bag_authz_id = AuthzId}} = State) ->
      chef_wm_base:create_from_json(Req, State, chef_data_bag, {authz_id, AuthzId}, DataBagName).
  
  %% error message functions
  
  malformed_request_message(Any, _Req, _State) ->
  