Revision #5 was created by shiv on Feb 2, 2014, 7:26:18 AM.
update code
Content
[...]
Yii::app()->end();
}
```
API Action Code
---------------
This is how you can modify you actual action code.It should not have render code. I have a array having few parameter like status, action, controller which i want to return back to mobile app. This is required if your APIs are called asynchronously. So response should have details on which action was called.
[...]
```
Example : Code
------------
[http://iseetv.biz/api/](http://iseetv.biz/api/
"Test Code: Api Response")
[http://t1.toxsl.in/download.php?file=eWlpX2FwaXRlc3Quemlw](http://t1.toxsl.in/download.php?file=eWlpX2FwaXRlc3Quemlw "Yii API Sample Test Code") [ Only for 30 days ]