enctype= multipart/form-data in react code example Example: enctype= multipart/form-data enctype="multipart/form-data"