anchor.diff:  
   to_response(Req, State) ->
       {"OK", Req, State}.
  -
  -parse_logplex_body(Body, Req) when is_binary(Body) ->
  -    erlang:error(not_implemented),
  -    Req.
  
positive.code: rest_init(Req, _Opts) ->
      {ok, Req, undefined}.
  
  content_types_accepted(Req, State) ->
      {[{{<<"application">>, <<"x-logplex-1">>, []}, from_logplex},
        {{<<"application">>, <<"logplex-1">>, []}, from_logplex}],
       Req, State}.
  
  from_logplex(Req, State) ->
      case cowboy_http_req:body(Req) of
          {ok, Body, Req1} ->
              Req2 = parse_logplex_body(Body, Req1),
              {true, Req2, State};
          {error, Why} ->
              io:format(standard_io, "Invalid logplex body: ~p.~n", [Why]),
              {false, Req, State}
      end.
  
  process_post(Req, State) ->
      from_logplex(Req, State).
  
  content_types_provided(Req, State) ->
      {[{{<<"text">>, <<"plain">>, []}, to_response}],
  
negative.code: 
  -export([init/3
           ,rest_init/2
           ,allowed_methods/2
           ,known_content_type/2
           ,malformed_request/2
           ,process_post/2
           ,content_types_provided/2
           ,to_response/2
          ]).
  
  -record(state, {token :: logpex_token:id(),
                  msgs :: list()}).
  
  child_spec() ->
      cowboy:child_spec(?MODULE, 100,
  