Hi All,
I am calling a rest device and populating my object using RestSharp. All works fine with a small amount of data, but when the payload increases i receive the following error.
Error getting response stream (ReadDone1): ReceiveFailure
Any Ideas?
RestClient client = new RestClient ("MYURI");
RestRequest request = new RestRequest (string.Format ("observeddetails?dateOfLastUpdates={0}", new LastUpdated ().GetTimeOfLastUpdate ().ToShortDateString ()), Method.GET);
request.AddHeader ("Accept", "application/json");
var response = client.Execute(request);
var content = response.Content; // raw content as string