Android unable to connect my web-service in app
问题 There must be a lot of questions regarding to mine. But i couldn't find a good solution for it, so that's why i am posting a question. I have created a REST web-service using yii framework. Below is my code for the api class UsersController extends ActiveController { public $modelClass = 'app\models\Users'; public function actions() { $actions = parent::actions(); unset($actions['index']); return $actions; } public function actionIndex() { $users = Users::find()->all(); \Yii::$app->response-