title: Delphi program to HTTP request
body: <p>I want to HTTP request using Delphi program.</p>
  
  <p>I used below code but i got error called <strong>"Undeclared identifier : TIdHTTP"</strong></p>
  
  <p><strong>I am new in Delphi.</strong> </p>
  
  <p>I request you to help me.</p>
  
  <pre><code>function PostExample: string;
  var
    lHTTP: TIdHTTP;
    lParamList: TStringList;
  begin
    lParamList := TStringList.Create;
    lParamList.Add('id=1');
  
    lHTTP := TIdHTTP.Create;
    try
      Result := TIdHTTP.Post('http://192.168.1.247:8001/test/test_api/', lParamList);
    finally
      lHTTP.Free;
      lParamList.Free;
    end;
  end;
  
  Procedure http;
  begin
  PostExample();
  end;
  </code></pre>