uot;POST&quot;,
        url: &quot;/api/v1/upload&quot;,
        body: body,
    })
}</code></pre>
<p>Assuming the server is configured to accept multipart requests, the file information will be associated with the <code>myfile</code> key.</p>
<h4 id=multiple-file-uploads><a href=#multiple-file-uploads>Multiple file uploads</a></h4>
<p>It&#39;s possible to upload multiple files in one request. Doing so will make the batch upload atomic, i.e. no files will be processed if there&#39;s an error during the uplo