Quantcast
Channel: HttpWebRequest For Atom URL returns HTML Content - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by ganchito55 for HttpWebRequest For Atom URL returns HTML Content

I had a similar problem with HttpWebRequest and I resolved it using a well known User Agent.myHttpWebRequest1.UserAgent= @"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1";I...

View Article



HttpWebRequest For Atom URL returns HTML Content

I'm trying to load an an Atom feed into a string and I'm using the following method:private string GetXml(string urlString) { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls |...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images