I have php code running on my server that I call in my web service. It processes the data in integer values. Send.How can I get this? Here is my request url:
NSString *requestURL=[NSString stringWithFormat:@"%@?u=%@& p=%@&platform=ios",url,txtUserName.text,txtPassword.text];
Update comment: I have a php file on my server. It takes 3 arguments and registers my users and returns the value as 1 (for success, 2 for duplicates). I need to send a request to my server as:
url="http://smwebtech.com/Pandit/web_service/signup.php?u=Test&p=password&platform=ios"
How can I send this request to the server and get the return value from the server?
ios objective-c
sohel14_cse_ju
source share