On Fri, Dec 14, 2018 at 12:34 PM Kevin Harwell <kharw...@digium.com> wrote:

> I'm not a REST expert by any means, but I thought POST aligned more with
> create and PUT create/update. But I guess since we are working on the whole
> list then we can get away with just a PUT, and as you say it will add or
> replace/update the entire list.
> <http://lists.digium.com/mailman/listinfo/asterisk-dev>


I don't pretend to be either, but in other REST-like systems I've typically
used POST to create an object, PUT to update a complete object, PATCH to
update just one portion of an object, and DELETE to delete an object.

-Jared
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to