LINUX.ORG.RU

История изменений

Исправление man-from-36, (текущая версия) :

var
  ResponseStrem  : TResponseStream;
begin

  try
    ResponceStream := PostRequest(UrlCtrl + '/api/hello', PostSource);
  finally
    if Assigned(ResponseStream)  
      then FreeAndNil(ResponseStream);
  end;

end;

Исходная версия man-from-36, :

var
  ResponseStrem  : TResponseStream;
begin

  try
    ResponceStream := PostRequest(UrlCtrl + '/api/hello', PostSource);
  finally
    if Assigned(ResponseStream)  
      then FreeAndNil(ResponceStream);
  end;

end;