Making an https request and redirecting

  • Thread starter Thread starter Juan
  • Start date Start date
J

Juan

Hello:

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
error code.

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?
 
Thus wrote js,
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?

Or maybe the web application checks the User-Agent header, or it expects
a cookie, or...

You have to know a little bit about the web application in order to access
it with your own client.

Cheers,
 
Back
Top