title: How to send HTTP post request using spring
body: <p>What configuration do i need to send HTTP post request through spring. I am using java application , it's not a web project. Can i use spring to send HTTP post request? I google it but most almost all examples are using spring MVC. Can i use just spring to send HTTP post request ?</p>
  
  <p>I found this bean on net but I don't know what to do after it. I am using spring3.2 and this post i think is of year 2008...</p>
  
  <pre><code>&lt;bean id="httpClient" class="org.springbyexample.httpclient.HttpClientTemplate"&gt;
      &lt;property name="defaultUri"&gt;
          &lt;value&gt;&lt;![CDATA[http://localhost:8093/test]]&gt;&lt;/value&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p><br>Any suggestions?</p>