anchor.diff:           content_types_accepted/2,
            to_json/2,
            from_json/2]).
  +
  +-export([install_scenario/2]).
   
   -type state() :: [].
   
  
positive.code:             Req3 = cowboy_req:set_resp_body(Reply, Req2),
              {false, Req3, State}
      end.
  
  %% internal function
  -spec get_vars_from_body(cowboy_req:req()) ->
  
negative.code: from_json(Req, State) ->
      case get_vars_from_body(Req) of
          {ok, {ModuleName, ModuleSource}, Req2} ->
              Nodes = amoc_nodes(),
              ResultBody =  erlang:list_to_bitstring(
                              process_multicall_results(Nodes, install_scenario_on_nodes(Nodes, ModuleName, ModuleSource))),
              Reply = jiffy:encode({[{compile, ResultBody}]}),
              Req3 = cowboy_req:set_resp_body(Reply, Req2),
              {true, Req3, State};
  