Snippets Collections
Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
star

Thu Feb 17 2022 19:32:53 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/41675051/get-response-in-json-format-in-yii2

#php #yii2 #response #json #format

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension