skip to content
  • 22 March 2008

    How to HTTP Post in .NET and handle the 500 errors

    If you google you will find a lot of posts that will tell you how to HTTP post (some call it HTML post) in .NET. However, they all fail, or at least the ones I found, to tell you how to handle the returned 500 errors and retrieve the message behind it.

    I have been posting to a service and getting the “500 Internal Server Error” which doesn’t tell much! I had done some research to get the real error behind it. Here is my code snippet in C#:

    Read the rest of this entry »

    Tagged under: | 1 comment