V
V
Vladimir2014-02-20 14:00:09
API
Vladimir, 2014-02-20 14:00:09

What is the best way to provide an interface for increasing or decreasing the value of a property of an entity in RESTfull api requests?

What do you think is the best way to implement an interface for incrementing or decrementing the value of a property of an entity in RESTfull api requests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
samizdam, 2014-04-29
@lazycommit

If I understand the question correctly, then, IMHO, call a special method on that object (resource) to whom the entity belongs.
POST /api/someResource/123/incrementProp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question