How can I post an array of objects to my server with RESTKit?
I have a custom object called Contact
which have some properties like name
, phone
etc. I would like to send an array of these Contact
objects to the server.
The method I know for this is postObject:path:parameters:success:failure
, but what object I put here? If I put Contact
- how will it know it is an array? and if I put NSArray
, how will it know it is a Contact
?