You cannot put a fundamental data type in a dictionary. It must be an object. But you can use [NSNumber numberWithBool:isExclusive] or use the @(isExclusive) syntax:
[[RKObjectManager sharedManager] postObject:genObject path:@"users/update.json" parameters:@{ ... @"em_id" : ObjectOrNull(em.emID), @"exclusive": @(isExclusive), ...
I also do not suspect that you used BOOL * as your parameter. You supposedly intended:
- (void)postPrimaryEMWithEM:(EM *)em exclusive:(BOOL) isExclusive success:(void (^)())onSuccess failure:(void (^)())onFailure { ... }
Again, BOOL not an object, so the * syntax is supposedly not intended.
source share