As part of an application I'm building there is a download option for files that are stored as Base64 strings. As such I need to pair the correct data types with the right files so they can be downloaded.
And I thought I had this pretty well fleshed out. However, it seems that docx files are downloading as doc files and xlsx files are downloading as xls files. Is there any way to download these in the correct file types? Most of the sites that have info related to this the company has blocked.
For docx I have data:application/msword
and for xlsx I have data:application/vnd.ms-excel