My implementation is not sending parameters. Here is the RequestDescriptor:
RKObjectMapping *userMapping = [RKObjectMapping requestMapping];
[userMapping add
Ensure that you have set:
manager.requestSerializationMIMEType = RKMIMETypeJSON;
As the default is RKMIMETypeFormURLEncoded
.
Based on your comments and discussion, the mapping isn't being used because the class of the user is wrong. This is because it is a plain NSManagedObject
rather than an RKUser
instance. This means RestKit can't find the appropriate mapping. The cause for this is the custom class not being set on the User
entity in your Core Data model.