For example my table has number 0 somewhere. My clients need to add a value to this number which persists.
I am using PHP/Curl and I have a PUT request. It works fine if I just want to change the value to something fixed. But how do I increment on the value that is already in the table?
eg… (an example that doesnt work , but you get the idea…:))
CURLOPT_URL => 'https://api.backendless.com/'.$APP_ID.'/'.$SECRET_KEY.'/data/Game_Data/1802CECF-58DB-67EC-XXXX-5ADE11018B00',
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_POSTFIELDS => json_encode(array(
value_to_increment=> value_to_increment+100
)