---
title: Upload a File
openapi: "PUT /api/files/{fileName}"
sidebarTitle: Upload a File
---

<Note>

The REST API endpoints can be used with MindsDB running locally at http://127.0.0.1:47334/api. 

</Note>

<Note>
Note that the trailing whitespaces on column names are erased upon uploading a file to MindsDB.
</Note>
