After few search, found the following solution
AGSCredential* cred = UserManager.credential;
AGSJSONRequestOperation * jsonOperation = [[AGSJSONRequestOperation alloc] initWithRemoteResource:nil URL:BMURL(URL) queryParameters:makeQueryParameters(body) method:method];
if (credential)
{
[jsonOperation setCredential:cred];
}
[jsonOperation.requestConfiguration setTimeoutInterval:60];
[jsonOperation.requestConfiguration setUserHeaders:[GeoManager requestHeaders]];
[jsonOperation registerListener:@"l1" forCompletion:^(id _Nullable result, NSError * _Nullable error) {
if(error == nil)
{
[mngr operationSucceeded:mngr.requestOperation result:result];
}
else
{
[mngr operationFailed:mngr.requestOperation result:result];
}
}];
[jsonOperation execute];