I use this library to export Excel
I send POST request to endpoint, where method retrieves data and creates file:
return Excel::download(new EventsExport($request), $filename);
Problem is that I get this file as binary in response, and browser does not start download it.
How to fix it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire