To receive uploaded files, first install python-multipart.
E.g. pip install python-multipart.
This is because uploaded files are sent as “form data”.