title: Send data to Delphi server
body: <p>I'm making a Delphi XE5 VCL Forms Application with a <code>TIdHTTPServer</code> on the main form and a <code>CommandGet</code> of the <code>IdHTTPServer</code> procedure:</p>
  
  <pre><code>procedure TForm1.IdHTTPServerCommandGet(AContext: TIdContext;
    ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
  var pageContent: TStringList;
  begin
  if pos('&amp;command=add', ARequestInfo.UnparsedParams) &gt; 0 then
     begin
        pageContent:= TStringList.Create;
        try
           pageContent.Add('&lt;html&gt;');
           pageContent.Add('&lt;head&gt;');
           pageContent.Add('&lt;title&gt;Profile&lt;/title&gt;');
           pageContent.Add('&lt;/head&gt;');
           pageContent.Add('&lt;body&gt;');
           pageContent.Add('&lt;input id="subjects" type="text"/&gt;');
           pageContent.Add('&lt;input id="Add" type="button" onclick="sendData()"/&gt;');
           pageContent.Add('&lt;/body&gt;');
           pageContent.Add('&lt;/html&gt;');
           AResponseInfo.ContentText := pageContent.Text;
        finally
           pageContent.Free;
        end;
    end;
  end;
  </code></pre>
  
  <p>My question is how the user input is send to the server when the user clicks the button 'Add'.</p>