Hi
I am new to Xamarin forms and I would like to ask if anyone knows how to deal with an image received from a GET request shown below
var request = new RestRequest(command, Method.GET);
try
{
var response = await client.Execute(request);
Debug.WriteLine(response.ContentType);
return response.Data.ToString();
}
catch (Exception e)
{
var result = JsonConvert.SerializeObject(new {Success = false, Message = e.Message});
return result;
}
the content type received is "image/png" I would like to view this image in an image object of Xamarin forms