I created a server by referring to the documentation.(
Link)
Tried download test. but failed.
In my opinion, the response header is wrong.
Content-Disposition is not returned on my server.
I have attached an example file.
Please tell me a solution.
my code :
//To save as excel file
[AcceptVerbs("Post")]
[HttpPost]
[EnableCors("AllowAllOrigins")]
[Route("Save")]
[RequestSizeLimit(2147483648)] // e.g. 2 GB request limit
public IActionResult Save(SaveSettings saveSettings)
{
Console.WriteLine("Save");
return Workbook.Save(saveSettings);
}
my test page : http://vpn.pspace.com:15080/sheet/
result : {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","title":"Unsupported Media Type","status":415,"traceId":"|d696af79-4b7f81d4e4059d5a."}
ps. Written using a translator.
Attachment:
Sample_f7b80805.zip