0

I'm trying to upload large files and I get the error: 413 Request Entity Too Large. I can't find any solution, how can I set the maximum file size?

I'm using vuetify@2.4.2 as fron-tend and .NET 5.0 as back-end.

Here is a sample code that uploads the file (note: I use Axios Post)

const formData = new FormData();
this.Files.forEach((element) => {
 formData.append("files", element);
});
formData.append("json", JSON.stringify(this.FileInfo));

var res = await utils.doPost("/Files",formData);
infCAT
  • 23
  • 7

0 Answers0