Support Topics Documentation Slack YouTube Blog

Backendless Caching - Rest example

The REST example for Caching

is actually an example of REST Counters and not Caching… (do you have a caching example please?)

// INCREMENT COUNTER BY 1
curl ‘https://api.backendless.com///counters/ordersReceived/increment/get’ -X PUT

// INCREMENT COUNTER BY 5
curl ‘https://api.backendless.com///counters/ordersReceived/incrementby/get?value=5’ -X PUT

// GET COUNTER VALUE
curl ‘https://api.backendless.com///counters/ordersReceived’

// RESET COUNTER
curl ‘https://api.backendless.com///counters/ordersReceived/reset’ -X PUT

Hi Graham,

We will get it fixed on the website. For all API examples, I recommend checking the documentation:

Regards,
Mark

1 Like