post http://localhost:8000/file-upload
You can use this endpoint to upload a file for indexing
(see https://docs.haystack.deepset.ai/docs/rest_api#indexing-documents-in-the-haystack-rest-api-documentstore).
Note: files are removed immediately after being indexed. If you want to keep them, pass the
keep_files=true
parameter in the request payload.