|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Making an https request and redirectingHello:
I'm having a trouble making an https request to an URL using c#. If i use an internet navigator, the request works fine and it returns the XML is supposed to return, but if I make it using c#, the server returns a 500 error code. The only different thing with an usual https connection is that the destination URL is a redirected URL. Anyone has an idea of why it doesn't work? Thanks a lot, Juan > but if I make it using c#, the server returns a 500 Not to ask the obvious and be insulting but....> error code. Have you associated a NetworkCredential using a valid username and password for the server to the request? Thus wrote js,
>> but if I make it using c#, the server returns a 500 error code. Or maybe the web application checks the User-Agent header, or it expects >> > Not to ask the obvious and be insulting but.... > > Have you associated a NetworkCredential using a valid username and > password for the server to the request? a cookie, or... You have to know a little bit about the web application in order to access it with your own client. Cheers, -- Joerg Jooss news-re***@joergjooss.de |
|||||||||||||||||||||||