I'm trying to upload file file with file size around 134MB via Postman. I'm getting Status: 413 Request Entity Too Large. I've added FormOptions attributes at Startup class too.
Could anyone advise how to solve that issue?
CodePudding user response:
Looks like in your case [DisableRequestSizeLimit]
is conflicting with [RequestSizeLimit(500*1024*1024)]
.
Just these options do the trick:
I didn't use the authorize attribute as mine was only a test app.