Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello to all;

i want to accept httppost on my portal but i dont know how to send response to the sender of httppost in xml form . i also want to get the url of the httppost sender how can i do that?? please help.
Thanks in advance

Muhammad Junaid Farhan
Posted

1 solution

WebRequest request = WebRequest.Create(url); //Build request
// use it
WebResponse response = request.GetResponse();
Stream stream = response.GetResponseStream();
// You may want to deserialize the strea for usage now


You can see XML deserialize[^] for the example of using XML for deserializing
 
Share this answer
 

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