You currently havent executed the request, use: Var response request.GetResponse() as HttpWebResponse This is the point where it will actually get data from the web and give you any relevent errors. c.net http get request asp.net c http request and response in asp net c http post request in In short a simple jQuery Ajax JSON example in Asp.net C with MS SQL Server database.By using jQuery AJAX methods, we can request HTML, XML, or JSON from the server using both HTTP Get and HTTP Post request. Essentially, Ive been able to add header parameters to the request information with ISAPI, however I have not found a way to make this available within C or ASP.NET. The Request object appears to be read only. Have you tried using either WebRequest or WebClient? The fact that youre doing this from within an ASP.NET page is mostly irrelevant Note that you should escape URI parameters - otherwise youll run into trouble with values such as a message of "hello goodbye". Filed Under: Programming Tagged With: .net, c, http.October 26, 2015 at 5:47 pm.