title: POST request with IdHTTP
body: <p>Hi I'm trying to fill in a form using the component IdHTTP POST method, the code that I have is this:</p>
  
  <pre><code>var
    par2: TIdMultiPartFormDataStream;
    rta: string;
  
  begin
  
      par2 := TIdMultiPartFormDataStream.Create;
      par2.AddFormField('ipaddress', ip.text);
      par2.AddFormField('submit', 'Submit');
  
      rta := idhttp1.Post
        ('http://www.melissadata.com/lookups/iplocation.asp?ipaddress=', par2);
  
      memo.Lines.Add(rta);
  
  end;
  </code></pre>
  
  <p>And the code of the form is this:</p>
  
  <pre><code>&lt;form method="post" action="iplocation.asp"&gt;
  &lt;table class="Tableresultborderblue" align="right" border="0" cellpadding="0" cellspacing="0" width="300"&gt;
  &lt;tbody&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;span style="font-size:12px;"&gt;Your IP Address: 181.92.20.173&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td align="center" height="35px"&gt;&lt;strong&gt;Enter an IP address&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td align="center"&gt;&lt;input id="ipaddress" name="ipaddress" value="" class="inputoff" type="text"&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td height="10"&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td align="center" height="45px"&gt;&lt;input title="Click to process Address" class="btn" value="Submit" type="submit"&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td height="10"&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;   
  &lt;/form&gt;
  </code></pre>
  
  <p>The problem is that I do not return the appropriate response form, which brings me back is the empty form as if he had it all wrong</p>
  
  <p>What am I doing wrong?</p>