anchor.diff:              %% Not exists
               {['GET', 'HEAD', 'POST'], ReqData, Context1}
       end.
  -    
  +
   
   is_authorized(ReqData, Context) ->
       %% Check if we are authorized via a regular session.
  
positive.code: 
  
  process_post(ReqData, Context) ->
      Method       = list_to_atom(z_context:get_q("method", Context)),
      {ok, Module} = z_module_indexer:find(service, Method, Context),
      case Module:process_post(ReqData, Context) of
          ok ->
              {true, ReqData, Context};
          Result ->
              api_result(ReqData, Context, Result)
      end.
              
  
negative.code: 
  
  api_result(ReqData, Context, Result) ->
      case Result of
          {error, Err=missing_arg, Arg} ->
              api_error(400, Err, "Missing argument: " ++ Arg, ReqData, Context);
  
  