I managed to write the REST API code and it works for the standard actions.
Now, if I want to send more attributes
, like url_to_api_action?a=b&c=d&e=f
, this does not match any of the standard actions.
I need to search by attributes, using a RESTful API in Yii2.
any ideas?
<?php
namespace api\modules\v1\controllers;
use yiiest\ActiveController;
class UneController extends ActiveController {
public $modelClass = 'common\models\Une';
}