Client and server synchronization of database tables using REST. This code is for OBJC+CoreData client.