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: 		X -> 
  			% Get specific user
  			case User = db_api:get_user_by_id(list_to_integer(X)) of
  				{error, "unknown_user"} -> {{halt, 404}, ReqData, State};
  		 		_ -> {user_to_json(User), ReqData, State}
  			end
  	end.
  