title: Multipart/form-data HTTP POST with file and text in Mule (Mule ESB 3.7)
body: <p>I have an inbound SFTP endpoint which retrieves the files and I want to do HTTP post with files along with other data (text) as attached in the screenshot. According to the mule documentation, the payload must be an outbound attachment which I am doing by using Set Attachment property. With this approach, I am setting the Content-Type for one of my attachment as application/XML (as my file is of XML type) and as text/plain for the other parameter. Any thoughts on achieving this? 
  I have attached the screenshot of how the request looks like in Postman. </p>
  
  <p><a href="https://i.stack.imgur.com/S2f0R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S2f0R.png" alt="enter image description here"></a></p>