# Indexing Files (PDF, Word, etc.)

## Indexing a file

Our index has been created with the built-in `document` schema, and we're ready to index a PDF file.

Let's save a PDF file (such as this one) locally. The file path is going to be `~/Downloads/MyPDFFile.pdf` but you can change that to wherever your file is. The cURL command to index the file would be:

```
curl --request POST \
  --url http://localhost:8201/upload/your_index_id \
  --form file=@~/Downloads/MyPDFFile.pdf
```
