download a file with the contents of $data on handleRecordCreation
I want to automatically download a .txt file with the contents of $data on handleRecordCreation(array $data), and then redirect to the index as usual, how can i do that?
1 Reply
I don't think that's possible. You can't download and redirect. That's 2 requests.