Hello all,
I am trying to do a WebRequest from my Netduino to poll a string from another system. I am using the code below to perform the request:
public double GetTemperature(string address) { var request = WebRequest.Create(_url); var response = request.GetResponse(); request.Dispose(); var sr = new StreamReader(response.GetResponseStream()); var source = sr.ReadToEnd(); response.Dispose(); sr.Dispose(); ... }
Problem is my code gets stuck at "GetResponseStream()".
Response headers:
Any ideas how to make this work?
BR Larre