401 Error when accessing API

jeshuchelda

New Member
I see several responses to this issue however none seem to work in my case. Here is the situation.I'm working with the API from thetvdb.com.I am loading XML via API. If I run the application it will give me a 401 error. If I load the URL in IE first then run the application it loads fine.I suspect its a cookie issue but I am not sure how to pass that cookie during my request below.\[code\]var _doc = new XmlDocument();_doc.Load(_url);\[/code\]Thanks in advance for your help.
 
Back
Top