Regards,
Kevin
Is it webrequest in general or just the request for notifications
that's the problem? The GET request should look something like this:
string HttpGet(string url)
{
HttpWebRequest req = WebRequest.Create(url)
as HttpWebRequest;
string result = null;
try
{
using (HttpWebResponse resp = req.GetResponse()
as HttpWebResponse)
{
StreamReader reader =
new StreamReader(resp.GetResponseStream());
result = reader.ReadToEnd();
}
}
catch (Exception e)
{
// may want to handle this :)
throw e;
}
return result;
}
http://james.newtonking.com/pages/json-net.aspx
There are a few others but I've used this in several different
projects and like it.
That's the exact library I'm using :)
Thanks for the suggestion.
:)
Mike