Most of time, the source of file uploading errors are that we forget to add the enctype property in the HTML form.
Normally, we do not need to add the enctype property for regular requests. However, we do need to add this to the HTML form when uploading files,
enctype="multipart/form-data"
I'm just curious, why does uploading files not work without the enctype property?