anchor.diff:          true ->
               {ok, SpaceId} = space_logic:support(ProviderId, Token),
               {{true,  <<"/provider/spaces/", SpaceId/binary>>}, Req}
  -    end.
  -
  +    end;
  +accept_resource(ports, post, _ProviderId, Data, _Client, Req) ->
  +    {provider_logic:test_connection(Data), Req}.
   
   %% provide_resource/4
   %% ====================================================================
  
positive.code: %% ====================================================================
  is_authorized(ip, get, _, _) ->
      true;
  is_authorized(ports, get, _, _) ->
      true;
  is_authorized(provider, post, _, #client{type = undefined}) ->
      true;
  
negative.code:     {Space, Req2};
  provide_resource(ip, _ProviderId, _Client, Req) ->
      {{Ip, _Port}, Req2} = cowboy_req:peer(Req),
      {list_to_binary(inet_parse:ntoa(Ip)), Req2}.
  
  
  %% delete_resource/3
  