I have a scenario and could not find a solution.
I have a single file to download from HTTP Request. I am able to download the file but the file type is unknown(it could be zip file or pdf). Unless I mention the file type it is downloading as just file without extension. Anyway to download the file as it is
Hi @suniltvg
- Make the HTTP Request**: Send the HTTP request and get the response.
- Check the
Content-Type
Header**: Use theContent-Type
header in the response to determine the file type. - Save the File**: Save the file with the appropriate extension based on the
Content-Type
.