title: How to upload multiple files via REST over HTTP using Mule?
body: <p>I have a folder say "MyFiles" where I have lots of files. Now I need to upload those file via REST over HTTP . What will be the approach?</p>
  
  <p>I tried the below but it is wrong</p>
  
  <pre><code>&lt;flow name="testFlow1" doc:name="testFlow1"&gt;
          &lt;http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/&gt;
  
  
           &lt;http:rest-service-component 
                                  serviceUrl="http://localhost:8280/rest/xyz" 
                                  httpMethod="POST"&gt; 
           &lt;/http:rest-service-component&gt; 
  
      &lt;http:endpoint host="localhost" port="5430" encoding="UTF-8" 
                  method="POST" connector-ref="fileHttp" path="fileuploader" name="muleFileUploader"&gt;
         &lt;/http:endpoint&gt;
  
  &lt;/flow&gt;
  </code></pre>
  
  <p>Please help. Since the input folder will have multiple files, how can we achieve that also?</p>
  
  <p>Thanks</p>