How to consume post type restful wcf service in iphone?

For GET, it works to just get the contents of the URL like you did above. For POST, you will have to create an NSMutableURLRequest NSURL *theUrl = NSURL URLWithString:@"yourURL"; NSMutableURLRequest *theRequest = NSMutableURLRequest alloc initWithURL:theUrl; theRequest setHTTPMethod:@"POST"; //set the body of your request: theRequest setHTTPBody: //request here; //get your response: NSData *response = NSURLConnection sendSynchronousRequest:theRequest returningResponse:nil error:nil To construct JSON, try looking at the json-framework https://github. Com/stig/json-framework.

For GET, it works to just get the contents of the URL like you did above. For POST, you will have to create an NSMutableURLRequest. NSURL *theUrl = NSURL URLWithString:@"yourURL"; NSMutableURLRequest *theRequest = NSMutableURLRequest alloc initWithURL:theUrl; theRequest setHTTPMethod:@"POST"; //set the body of your request: theRequest setHTTPBody: //request here; //get your response: NSData *response = NSURLConnection sendSynchronousRequest:theRequest returningResponse:nil error:nil; To construct JSON, try looking at the json-framework.

Https://github. Com/stig/json-framework.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions