How to add filename while using responseType: "blob". It should show like test.csv.
My Code:
var account = API.one("users/csvExport", checkboxesChecked).withHttpConfig({responseType: "blob"}).post().then((response) => {
var url = (window.URL || window.webkitURL).createObjectURL(response);
window.open(url,"_self");
});
}