Http File Download

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

  1. Make the HTTP Request**: Send the HTTP request and get the response.
  2. Check the Content-Type Header**: Use the Content-Type header in the response to determine the file type.
  3. Save the File**: Save the file with the appropriate extension based on the Content-Type.