Start a Project

Send HTTP POST Request Through Xml In iOS

 

Send HTTP POST Request Through XML In iOS

Suppose you want to send the HTTP POST request to the server with some parameters and XML Data.So firstly you want to create your XML , but the problem is that iOS not provide the simple way to create the XML . Then you have to create  the XML String that you want to send to Server Side. XML data :-

After creating the XML String, you have to send the request to the server with XML string and some parameters.If the request is successfully  sent to the server,you will get some data. And use that data according to your need. here is the code using POST Request.

 

 

 

Exit mobile version