DownloadAction  refactored for POST request with headers