Difference between #4 and #6 of
Simple Web APIs for your Yii App

Changes

Title unchanged

Simple Web APIs for your Yii App

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

API, JSON

Content changed

[...]
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 ]
1 2
10 followers
Viewed: 33 532 times
Version: 1.1
Category: How-tos
Tags: API, JSON
Written by: shiv
Last updated by: CeBe
Created on: Jan 23, 2014
Last updated: 10 years ago
Update Article

Revisions

View all history