protected void POST(string json) { UserCheck(); if (MethodAllowed(RESTarMethods.POST)) { try { Evaluators.POST(json, Request); Success = true; } catch (AbortedInserterException e) { SetMessage(e.InnerException?.Message ?? e.Message, e.ErrorCode, error); } } else { SetMessage($"You are not allowed to insert into the '{Resource}' resource", NotAuthorized, error); } }