Subsequent request to the file upload for .net core api fails but works for the very first request via postman.
Error : multipart body length limit 16384 exceeded.
Note : Working fine in local getting issue only in IIS
Added below code in startup.cs
services.Configure<FormOptions>(options => { options.ValueCountLimit = 10; //default 1024 options.ValueLengthLimit = int.MaxValue; //not recommended value options.MultipartBodyLengthLimit = long.MaxValue; //not recommended value });