Posting data to server to get response

172 views Asked by At

I would like send data to server to get response.

I used ASIFormDataRequest, NSMutableURLRequest, NSURLSessionConfiguration.

But i did not get the response.

I tried in these ways

Response

Please guide me. or suggest me any other ways.

Thank you.

1

There are 1 answers

5
Yossi On BEST ANSWER

The best practice is to use AFNetworking :

https://github.com/AFNetworking/AFNetworking

There is a lot of data you can find to get guided, for example:

http://www.raywenderlich.com/59255/afnetworking-2-0-tutorial

AFNetworking Post Request