Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kamy

macrumors member
Original poster
Jul 27, 2011
44
0
As per the docs of AFNetworking
http://cocoadocs.org/docsets/AFNetw...sionManager.html#//api/name/requestSerializer
The serializes uses query string parameters for GET, HEAD, and DELETE requests, or otherwise URL-form-encodes HTTP message bodies.

Am using AFHTTPSessionManager to to a GET request.
I pass in a dictionary as parameters and

Code:
   [managerGET:mad:"/getstuff"parameters:dict success:^(NSURLSessionDataTask *task, id responseObject)

    {

    }

So from what i understand there is no way to send input in Request.Body when we make a GET request?
It input always uses query string parameters. Is that right?
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.