Decoding Excel file from HTTP Request

Hello, from my HTTP Request I get this decoded code, which I want to convert to excel. Is it possible to convert from this format to excel? Or how could I convert it to base64?

image

Does this solve your query - Saving file using HTTP request

Hi @Erikas_Martinaitis

u can use this expression for encode your text

System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(your text))

thanks
Priya

Thanks, but the excel it generates is the same output, and the excel doesn’t open
image

Thanks, it converts to base64, but when converting it to excel it says that it’s wrong format. Maybe the converting can’t happen from the output I have?

Interesting

Is the file supposed to be in Excel format?
Can you run this through Postman and check what file gets downloaded?