I am trying to create http request using
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(DownloadURL);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
I have all cookies used in string format : cookie1=value1;cookie2=value2; How do I append this cookies in string format when making request
Try this
request.Headers["Cookie"] = "cookie1=value1; cookie2=value2";