Hi,
I use "HTTP Request" action from standard "Utility - HTTP" object. It works correctly, I get responses. The problem is a response type which is a zip file.
Could you give me some advices how to modify this code to get resultData in binary format (if my understanding is correct this is a valid format if reponse is the zip file)?
Using response As WebResponse = request.GetResponse()
resultHeadersJson = JsonConvert.SerializeObject(ToDictionary(response))
Dim responseStream As IO.Stream = response.GetResponseStream()
Dim sr As New IO.StreamReader(responseStream)
resultData = sr.ReadToEnd()
End Using
Thank you in advance,
------------------------------
Mateusz
RPA Developer
Warsaw
------------------------------