考虑到取消订单作为要求,以 RESTful 方式表示此操作的最佳设计选项是什么?为什么?
我至少可以想到以下几点
/orders/{id}/cancelled
/orders/{id}
cancelled
rest
rest ×1