title: Katalon - Upload a file using POST API
body: <p>I’ve searched for this issue and seems to be discussed a couple of times but with no real resolution.</p>
  <p>I’m trying to upload an XML file using a POST request and form-data, but I get the following error response:</p>
  <pre><code>{
    &quot;error&quot;:&quot;The results file is required.&quot;
  }
  </code></pre>
  <p>The error shows using ObjectRepository and also by code using with <code>withMultipartFormDataBodyContent()</code></p>
  <p>If I use curl it works fine. Also works fine with Postman.</p>
  <p>Can someone please help me with this?</p>
  <p>Thanks.</p>