I want to get SPlist data using HTTPWebRequest but not sure how can i do it, here's the code I made until now,
// Create a web request to get the xml feed
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(WEBURL);
request.Method = "GET";
request.Credentials = new NetworkCredential(_userName, _password);
XmlDocument xml = null;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
// If the request/response is successful
if (response.StatusCode == HttpStatusCode.OK)
{
// Get the response stream containing the xml
using (XmlTextReader reader = new XmlTextReader(response.GetResponseStream()))
{}}
Cheers