title: How do I define a sequence to do a form post in WSO2 ESB?
body: <p>I'm trying to define a sequence to do a HTTP post. I can't get my post variables to be sent in the request. I have</p>
  
  <pre><code>&lt;sequence xmlns="http://ws.apache.org/ns/synapse" name="CDN" trace="enable"&gt;
      &lt;property name="messageType" value="application/x-www-form-urlencoded" scope="axis2" type="STRING"/&gt;
     &lt;property name="HTTP_METHOD" value="POST" scope="axis2" type="STRING"/&gt;
     &lt;send&gt;
         &lt;endpoint&gt;
            &lt;address uri="http://posttestserver.com/post.php"/&gt;
            &lt;property name="foo" value="bar" scope="axis2"/&gt;
         &lt;/endpoint&gt;
     &lt;/send&gt;
  &lt;/sequence&gt;
  </code></pre>