try removing this header: 'Content-Type': 'multipart/form-data' Add this encType="multipart/form-data" to the form element