Update an entire resource collection in a REST way

后端 未结 3 1311
礼貌的吻别
礼貌的吻别 2020-11-28 10:14

I have a REST URI for a list of resources, something like:

http://foo.com/group/users

Each of these users has a sequence number and I want

3条回答
  •  一整个雨季
    2020-11-28 10:35

    You can use both PATCH and POST on the URIs. I'd use PATCH if I were you. It's the best solution for bulk updates.

提交回复
热议问题