I am trying to upload file based on this answer:
<form enctype="multipart/form-data" action="http://localhost:61113/api/file/upload" method="post">
<div>
<input type="text" placeholder="No file selected" id="txtPath" />
<div id="div-btn">
Choose File
<input type="file" class="hide_file" id="browse-btn">
</div>
</div>
<button id="btnScan" type="submit">Scan</button>
</form>
but in the server side I only get at the content of the request:
------WebKitFormBoundaryYhhj0sW5ARh7d9ZO--
and I cant see the file's content, I meen it seems like it doesn't sends the file, what am I missing?