anchor.diff:  %% @end
   from_json(ReqData, State) ->
   	Id = id_from_path(ReqData),
  -	case get_user(ReqData) of
  +	case get_user_from_request(ReqData) of
   		{error, Reason} -> {{error, Reason}, ReqData, State};
   		{ok, User} ->
   			erlang:display(User),
  
positive.code: %% Returns: {Path, _, _ }
  %% @end
  create_path(RD, Ctx) ->
  	erlang:display("create path"),
      Path = "/users/" ++ integer_to_list(Id=db_api:generate_id(user)),
  	erlang:display(Path),
  	db_api:create_user(#user{id= Id}),
      {Path, RD, Ctx}.
  
  
negative.code: 
  
  %% @doc
  %% Function: get_user_from_request/2
  %% Purpose: Creates a User record in the request
  %% Returns: {ok, User} || {error, "empty body"}
  %% @end
  get_user_from_request(ReqData) ->
  	[{Value,_ }] = mochiweb_util:parse_qs(wrq:req_body(ReqData)), 
  	case Value of
  		[] -> {error, "empty body"};
  