failed to read the request form. missing content-type boundary .net core

Code Example - failed to read the request form. missing content-type boundary .net core

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