我正在尝试使用int
数组发布请求[1,2,3,..]
我无法弄明白该怎么做。
RKObjectMapping * ordersRequestMapping = [RKObjectMapping requestMapping];
// Missing the right line here
[[RKObjectManager sharedManager] addRequestDescriptor:[RKRequestDescriptor requestDescriptorWithMapping:ordersRequestMapping
objectClass:[NSArray class]
rootKeyPath:nil
method:RKRequestMethodPOST]];
到目前为止,我知道它需要“fromKeyPath”到nil