Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Experts,

I write a code for HTTP Post Method

Here is the code

C#
string ipadd = Request.UserHostAddress;
if (Request.Form["AUTH"] != null)
{
        Response.Clear();
        Response.ClearContent();
        Response.ClearHeaders();
        
        Response.ContentType = "text/plain";
        byte [] bt=ReadFully(Stream stream, int initialLength)
        Response.Write("chandu testing the data");
        //Response.End();
}*/

It will work on curl programming but it is not working on modem.
when connect to the modem send the method it will display on error http response fail.
Posted
Updated 18-Nov-10 19:03pm
v3
Comments
Ankur\m/ 19-Nov-10 1:04am    
Why there is a close comment sign at the end of the code?
chandrashekhar racharla 19-Nov-10 4:24am    
close comment is not a problem,just comment it in my code as it is copy here
chandrashekhar racharla 19-Nov-10 4:24am    
close comment is not a problem,just comment it in my code as it is copy here

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900