anchor.diff:           allowed_methods/2,
            content_types_provided/2,
            content_types_accepted/2,
  -         malformed_request/2,
            resource_exists/2,
            to_json/2,
            from_json/2]).
  
positive.code: 
  -spec from_json(cowboy:req(), state()) ->
      {string() | halt | ok, cowboy:req(), state()}.
  from_json(Req0, State = #state{resource = Resource, users = Users}) ->
      Scenario = erlang:list_to_atom(Resource),
      _ = amoc_dist:do(Scenario, 1, Users),
      Reply = jsx:encode([{scenario, started}]),
      Req1 = cowboy_req:set_resp_body(Reply, Req0),
      {true, Req1, State}.
  
  
negative.code: content_types_accepted(Req, State) ->
      {[{<<"application/json">>, from_json}], Req, State}.
  
  -spec resource_exists(cowboy:req(), state()) ->
      {boolean(), cowboy:req(), state()}.
  resource_exists(Req, State = #state{resource = Resource}) ->
  