Yii 2.0 – Các bước xây dựng một REST API

1.Action index 2.Action View 3.Action Create 4.Action Update 5.Action Delete 6.Action DeleteAll This is wiki page is useful if you are trying to build a customized REST API in Yii2.0 Note: Yii 2 includes a generic REST feature (ActiveController class) that implements a basic REST API for one of your models that you may be…