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
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?
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: