I am using HTTP request activity and by default its response is in string format. I want my response in stream format and I do not know how data is encoded in my HTTP response.
The HTTP response in string format is attached . HttpOutputData.txt (18.5 KB)
gives output in string format. The text that I want to translate is attached in file called “InputData.txt” and the response headers that I am getting while downloading the document are
in “ResponseHeaders”. The output in string format is in HttpOutputData".
I tried different encoding schemes to get the translated text data but of no avail. Please let me know how I can get the translated data. I have to submit my project today.HttpOutputData.txt (18.5 KB) InputData.docx (11.9 KB) ResponseHeaders.docx (12.1 KB)
Your response header shows the response is docx format and its size is 11395.
So can you try to set “output.docx” at ResourcePath proerty, then open it with MS-Word etc?
Actually, I wrote the HTTP Response that is in string format to a text file by using Write text file activity as shown below and this text file is same as I attached above. So, I am assuming that this is the complete data.
I don’t think it’s good way because binary data will be crashed for encoding matter.
(As result file size is increased. Original file size is 11395, but your text file size is 18994.)
Perhaps you should save response to file using ResourceProperty directly.