Object must be present in the request body
I have no idea what this means. Please help. I am so close to finishing this app.
Object must be present in the request body
I have no idea what this means. Please help. I am so close to finishing this app.
Hello Matthew,
Where exactly do you get this error?
Please tell us more details. Provide screen shots..
I have object id mapped to the id spot (screenshot 1). I need to have it update the items in the table (screenshot 2) depending on how they show up instead of updating a specific item. My app currently looks like screenshot 3 but will not update because of this error. I am new to the cloud and networking in general so I'm probably missing something really simple but if I put in a specific id like your above screenshot won't it only update a single item in the database?
Matthew,
Update service makes changes only to single object (specified by object_id parameter) in the database.
So if you want to update a few objects, there are two ways:
Run update service for each object you have to change in DB.
Implement custom save serverside code which could recieve collections of items to update.
Please take a look at this doc http://docs.appery.io/documentation/b...
Also you need to know how to invoke service from javascript. This topic will help https://getsatisfaction.com/apperyio/...