anchor.diff:      end,
       {ok, Req2, State}.
   
  +%% Some basic helper methods for certain response types.
   baseresp(Number, Message, Req) ->
       cowboy_req:reply(Number, [], Message, Req).
  -
   do404(Req) ->
       baseresp(404, <<"Page Not Found\n">>, Req).
   do400(Req) ->
  
positive.code: init(_Transport, Req, []) ->
      {ok, Req, undefined}.
  
  handle(Req, State) ->
      case cowboy_req:method(Req) of
          {<<"GET">>, _} ->
  
negative.code:             do400(Req)
      end.
  
  %% Request to record will take a proplist from the request and return
  %% possibly a job record or an error depending on whether the request
  %% was valid.
  request_to_record(Raw) ->
      Queue = proplists:get_value(<<"queue">>, Raw),
      ID = proplists:get_value(<<"id">>, Raw),
  